News for hackers. Stuff that matters.
Re:Taming names in software development by jffhn on Sunday December 11, 2022 @05:34AM (#33942008)
In small methods I tend to use shorter names, even very short non-descriptive names, because there is less context so less chance of confusion, and it makes it easier to see what's going on in a glimpse (and check it matches method name).

On the other hand, if some public method does multiple things that need to be known to decide where it can be called, I put them all in its name.

There are no comments on this comment yet.