News for hackers. Stuff that matters.
Re:Dirty Coding Tricks by raverbashing on Thursday January 08, 2015 @03:41PM (#8858852)
This is a good reminder for the "avoid technical debt" crowd and other advocates of sterilised development practices

Sometimes the rubber hits the road and you don't have time or money or any more cognitive energy to understand why your code that calculates a lot of things from a lot of data is not working in that 0.01% of cases

So you come up with a quick fix that's not exactly what it has to be done but it works it ships and it pays the bills.

Of course I don't advocate such solutions on critical paths, ate least not without some double checking.

Re:Dirty Coding Tricks by nostrademons on Thursday January 08, 2015 @03:57PM (#8858969)
You do want to have your default setting be "avoid technical debt", so that these sort of hacks are just that - hacks. Projects get into trouble when people do them as a routine matter; they're saved when a project that's otherwise healthy needs to do something naughty to work around a tricky bug.
Re:Dirty Coding Tricks by raverbashing on Friday January 09, 2015 @05:17AM (#8861568)
You're right, however, there are two issues.

1 - People "avoiding technical debt" by overengineering.

2 - (As you mentioned) sometimes it's not even your fault that you need a hack. (It may not even be a bug on what you're using, but just an unfortunate impedance mismatch, like the Playstation problem mentioned)

Re:Dirty Coding Tricks by MBCook on Thursday January 08, 2015 @03:46PM (#8858898)
Games are something of a different beast, at least at the time the article was written, in that they have a fixed 'end' point. After the game was shipped you didn't go back to fix things later, things would only be fixed when you were starting the sequel (or some other game) with that engine.

After all, what gets burned on a PS1 CD or PS2 DVD is permanent.

I'm sure that's at least somewhat different today with so many games having scheduled DLC and other updates that make the technical debt more unpalatable, although I'm sure such things still go on at a high rate.

Re:Dirty Coding Tricks by gabriel34 on Thursday January 08, 2015 @05:32PM (#8859477)
Ocarina of Time, and probably other games, had some glitches fixed, but sure, you have to ship your first client something playable beginning to end, because this client's media is permanent