10 is the new 15
I’m on my lunch break and am reading a nice article about software architecture. I smiled (and then tumbl-tweeted) when I read a part that specifically called out method length as a sign of poor design. I’ve come to this conclusion lately and have been fairly vocal about it.
The author steps it up a notch though, asserting that 10 lines should be the maximum of any method in Java (he also points out comment delineation as code smell). If you have take in software architecture, it’s a good read.
blog comments powered by Disqus