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

Every method of your API must serve some business purpose. "With" methods and setters generated or written "just in case" often do not have one or they are being used only in tests, which would be insufficient justification for having them. Does your code really need to change individual components of the color? If it is not a graphic editor, probably not and those methods will be redundant.


That sounds unpleasantly pedantic.




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

Search: