News for hackers. Stuff that matters.
Re:Ask HN: How can I improve my naming skills in software de... by squeegee_scream on Friday August 04, 2023 @05:59PM (#37006415)
I will sometimes give an obviously temporary name, like “foo”, if I can’t immediately think of something decent. That way I’m not slowed down. Once the code works I’ll update the name. For me, it can be easier to name these things after I’m mostly finished writing the code.

If I can’t think of a decent name I’ll mention this in a code review comment to get others’ input.

There are no comments on this comment yet.