News for hackers. Stuff that matters.
Re:The death of if/else cascades, a lightweight alternative by Deestan on Sunday December 06, 2009 @12:52PM (#979870)
> This code will be a nightmare to debug when there's a few thousand lines of similar redirections. :/

It is. The SConstruct build tool is a prime example of this technique being used so much that it hampers debugging.

Using this pattern successfully requires hard discipline; you have to concentrate to keep your code readable.

There are no comments on this comment yet.