A Longer Post on Shorter Functions

It’s funny how you can hear something over and over again but it doesn’t really ‘click’ until you actually sit down and play with it for a while.

This has been the case with me and using small functions (< 4 or 5 lines). It’s something that I hear people say, and I look at and think “Yeah, that’s a good idea and it makes sense.” Then it comes to implementation and I end up writing methods that range from 5 to 20 lines of code(or sometimes even more I’m ashamed to admit).

Continue reading “A Longer Post on Shorter Functions”

A Longer Post on Shorter Functions