Thursday, June 02, 2005

Right In Front of You - The Daily WTF

Right In Front of You - The Daily WTF:
"The introduction of AND, OR, and NOT operators to programming languages has really made code a lot easier to read and write. By now, it should be no surprise that certain programmers prefer not to deal with the plethora of Boolean operators and their inherent complexity, instead utilizing elaborate, nested IF blocks. But what makes today's example (from David Koontz) so neat is that the proper solution is commented right above the actual solution ..."