News for hackers. Stuff that matters.
Re:Thirteen Years of Bad Game Code by TeMPOraL on Friday March 31, 2017 @07:48AM (#14002808)
That's the best strategy. The most bug-free code is the one that wasn't written in the first place, therefore I refuse to write code unless absolutely necessary :).
Re:Thirteen Years of Bad Game Code by zpr on Friday March 31, 2017 @10:57AM (#14004427)
Not to mention the best one for code coverage. When junior devs ask me for advice regarding increasing code coverage, I tell them instead of writing more tests, how about writing less code? Our boss really liked that one.
Re:Thirteen Years of Bad Game Code by animal531 on Friday March 31, 2017 @08:36AM (#14003044)
This goes hand in hand with one of my favourite IT jokes, which says that the perfect system has no users.
Re:Thirteen Years of Bad Game Code by TeMPOraL on Friday March 31, 2017 @08:49AM (#14003129)
Unfortunately, I've seen IT departments taking this joke as an axiom. It seems common in schools and universities, where the infrastructure is maintained by being so limited as to be completely useless - and hence unused, and thus without problems caused by users...
Re:Thirteen Years of Bad Game Code by hinkley on Friday March 31, 2017 @07:27PM (#14009339)
One of my favorite tricks, that I sometimes play on myself:

Insist the person documents all the quirks and gotchas in a block of code or library. Sometimes the embarrassment at having to justify it will prompt them to fix the problem, other times they (or I) will realize that it literally takes less time to fix the issue than it does to apologize for it.

Something about the writing process unearths simpler solutions to tricky sounding problems. Possibly the same phenomenon that TDD tries to exploit.

Re:Thirteen Years of Bad Game Code by AnkhMorporkian on Friday March 31, 2017 @07:58AM (#14002857)
I bet I could screw it up anyways.
Re:Thirteen Years of Bad Game Code by jacobush on Friday March 31, 2017 @08:45AM (#14003102)
An Ankhmorporkian always can.