Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I usually split my C projects into modules and prefix the function names with a module abbreviation. Sort of namespace by convention.
The rest of the name should be descriptive for what the function does or the variable holds. If you're not sure how to name it, it is probably doing too many different things. -
Step 1: pick a name that says what it does
Step 2: profit
Step 3: hire a professional to put a coat of lipstick on the pig -
Apparently Linux doesn't as well, concerning the names they have given to kernel resources.
Related Rants
-
vergil32Who, after switching to Linux, started naming their files and folders without spaces?
-
fsociety0013In all honesty, if there was a course on giving variables good, informative and not completely stupid names......
-
Cas97Just finished writing a script with all the classes and variables named after the characters from Sherlock Hol...
I struggle with naming things. Projects especially and particularly if I intend to make a library in C and want to prefix the routines with something.
How do you decide on a name for your software projects?
question
naming