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

Out of curiosity I sometimes rewrite things as spaghetti (if functions are short and aren't called frequently) or using globals (if multiple functions have to many params) it usually doesn't look better and when it does it usually doesn't stay that way for very long. In the very few remaining cases I'm quite happy with it. It does help me think about what is going on.


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

Search: