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

OP said:

> I write functions using ‘static’ all the time. I prefer that a function be static.

This, however, does not mean that all the functions should be static. IMHO, the more static stuff you can extract from your instance methods while keeping parameters count to max 3 (magic number that works for me), the better.



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

Search: