News for hackers. Stuff that matters.
Re:Taming names in software development by tartoran on Sunday December 11, 2022 @12:25AM (#33940380)
Yes, long names can be taxing too if taken to extremes. I use descriptive names that spell out the domain or business logic so code becomes as close to self documenting as it gets. However, locally when I have to reference these multiple times I use a short alias, usually the acronyms of the long names so it’s the best of both worlds: don’t have to carry around the long names everywhere but still have a fallback on them when I forget what they represent.

There are no comments on this comment yet.