Small Functions considered Harmful

Supposed benefits of smaller functions

Do one thing

The fallacy of DRY

The name of the game

Loss of Locality

Class pollution

Fewer Arguments

Hard to Read

Shallow Modules and Classitis

When do smaller functions actually make sense

Network I/O

Property based testing

Conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store