Develop

One-liner methods can easily become an antipattern

Unless you are a very old-style procedural programmer, chances are you’ve grown up in an environment that promoted keeping the body of methods as short as possible. Nowadays more and more advocate that the Nirvana is to have methods of 1 line of code. The rationale behind is the false assumption that shorter methods are… Continue reading One-liner methods can easily become an antipattern

Advertisements