Hacker News new | ask | show | jobs
by ajuc 1116 days ago
It's personal taste. You can subdivide boolean expressions just as easily with if-then-elses as with boolean functions.

What most people object to is leaving the last level of if-then-else and returning true or false, when you could have returned simpleBooleanExpression and do away with 1 level of nesting.