DEV Community


Discussion on: Short methods FTW

vladimirwrites profile image
Vladimir Jovanović Author

Doing TDD helps a lot. You can't write big methods while doing it. If not, than you have to force yourself to split code in multiple methods.
But to be honest, it's not easy. I am still struggling sometimes to do it while writing code.