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

1. Agreed. (Assume it doesn't.)

2. Why am I making my library's utility methods public? It's a frob library, not a generic utility method library. I don't want clients depending on my utility methods. I don't want to support a separate utility library just to avoid testing private methods. I would prefer not to take on an external dependency for a single simple method. Having it private and tested is the best tradeoff here.

3. Agreed.




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

Search: