Hacker News new | ask | show | jobs
by ivan_gammel 1744 days ago
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.
1 comments

That sounds unpleasantly pedantic.