I would like to see the following closing reason., borrowed from Stack Overflow, added to off-topic:
Questions concerning problems with code you've written must describe the specific problem and include valid code to reproduce it. See SSCCE.org for guidance.
This would stop those questions talking in abstract of code and asking why it doesn't work. To know why the code doesn't work, the code is required.