Hacker News new | past | comments | ask | show | jobs | submit login

Not at all.

> if you have a class that solves a difficult problem with, say, only 2 methods with no more than 3 arguments each, you’re in good shape




Yes. The only way to solve a difficult problem with just 2 methods that take 3 arguments each is if those two methods are huge.

Keep your APIs small, but poweful. This is the opposite of short function people which keep their APIs huge, but weak.




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

Search: