How to convince your fellow developer to write short methods?
agiledeveloper.com/blog/PermaLink.aspx?guid=8...Posted May 18, 2009, 11:39 PM UTC
02
Posted May 18, 2009, 11:39 PM UTC
I liked the great advice on how to do this at the end of the article. Guess no one read down that far?
You can't. If it is a guideline, it will be ignored by > 90% of developers. They only way to ensure that developer does something correctly is to enforce it on the compiler/language level.
And that's why pure functional languages are great. They enforce good programming practices, instead of begging developers to follow the guidelines.