News for hackers. Stuff that matters.
Re:How to name things: the hardest problem in programming (2... by InclinedPlane on Tuesday June 20, 2017 @07:50PM (#14599523)
Indeed, naming things is hard because it involves design, and most often design is just a mess (a big ball of mud). Which is good, because bad names are a code smell. If you find yourself with lots of manager, doer, handler names maybe you should revisit your architecture. If you find yourself with lots of stuff that is similarly named or all shares the same naming prefix, maybe spin that chunk off into an object or something.

There are no comments on this comment yet.