Hacker News new | ask | show | jobs
by austin-cheney 1048 days ago
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.