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

What do you mean? I don't believe anyone is suggesting that if you have many static methods or functions, they should all be put in one namespace.


I think that's exactly what dclowd9901 was suggesting, though he may not have fully considered it.


Not necessarily. Of course defining classes is tricky, and there's no such thing as a rule of thumb, and that's more what I was trying to relay with my comment. And I agree with others who are saying that a piece of software where objects are crammed with tons of static classes is bad OOP.




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

Search: