News for hackers. Stuff that matters.
Re:Doom 3 Source code review by mappu on Saturday June 09, 2012 @03:58AM (#4087567)
At least in that case you can attribute it to well-intentioned stupidity. Here's my favourite short example you must instead attribute to malice: [1] a closed-form implementation of fibs(n). Follow along with the comments!

1. https://gist.github.com/eb02e9546102594e8bf7

Re:Doom 3 Source code review by DeepDuh on Saturday June 09, 2012 @04:23AM (#4087596)
That's really a fun example. It took me a while to even find the definition of f after having been distracted by all the comment clutter. Point taken.
Re:Doom 3 Source code review by gjm11 on Saturday June 09, 2012 @06:55AM (#4087819)
The actual algorithm is rather nice, despite the reader-hostile presentation...