Hacker News new | ask | show | jobs
by dagw 3510 days ago
How do you guys deal with re-factoring code?

As a very rough guide. Replacing one big function with two smaller functions is often better than replacing two small functions with one big one.

2 comments

This is for functions that actually have a meaningful purpose and merit being better understood.
spot on