Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>I can't think of a single benefit of a function over a comment for a piece of code that's only used once.

The call stack becomes very organized and readable when debugging.



The call stack becomes deeper. I'm not sure that's always a good thing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: