Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
throw-far-away
· 7y ago · 0 comments
It's a code smell whenever a function doesn't fit on a page or has more than 2 levels of indentation. Smaller functions are easier to test, easier to read and easier to debug. Leviathan kitchen-sink functions are a sign of slap-dash engineering.
Comments
No comments yet.
Better HN