News for hackers. Stuff that matters.
Re:Ask HN: How can I improve my naming skills in software de... by austin-cheney on Friday August 04, 2023 @04:39PM (#37005567)
The naming scheme I use is file path, then lexical scope within the given file, finally the name of the local function. This forces uniqueness. I use underscores between word groups and then camel case in each word group to prevent single word artificial restrictions without harming the convention or general legibility.

There are no comments on this comment yet.