News for hackers. Stuff that matters.
Re:IF-less programming by pacala on Friday December 28, 2012 @10:10AM (#4977946)
As long as there is a mechanical transformation from one style to another, this is not abstracting, is merely shifting the syntax.

You do introduce more named test points, but you risk of creating too many tests at a too small granularity, that will only slow you down for no good reason. Consider using a code coverage tool to help you navigate all the branches, without explicitly naming them.

Keep in mind readability. Jumping around source files is costly on the reader, don't break the flow if you don't have to.

There are no comments on this comment yet.