News for hackers. Stuff that matters.
Re:Some Problems Shouldn't Be Solved by perlgeek on Tuesday March 31, 2015 @02:15PM (#9298647)
When I implement not-quite-trivial business rules, I usually spend at least two thirds of the time to give good, verbose error messages about which rules are violated, and what to do instead.

Often it would be rather easy to make the check itself a few lines of conditional code or a single SQL query, but then the only response I could give to the user is "you can't do that", plus a link to the requirements document. Instead effort is spent to follow the steps in which a human might check the constraints.

Re:Some Problems Shouldn't Be Solved by lurkinggrue on Wednesday April 01, 2015 @05:48PM (#9307168)
It's amazing how much effort an end user will to to not read error messages.

I just got a screen grab from a user asking "What does this mean?" and the error was "Not enough space on disk."

  *Facedesk*