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
-
Tobyvw6988yCamelCase.
Also, lowerCamelCase for methods, packages and properties. UpperCamelCase for classes. -
nicholai8938yvariableCase // for let's.
ConstructorCase // factories, classes
const_case // well...
And for gods sake;
css-class-case -
sho3k488yDepends on the language, I like c++ with underscores. C# methods, properties const and public stuff PascalCase and vars camel. JavaScript mostly camelCase
-
depeneding on he language, and language conventions. when writing scripts, it is usualy underscores.
-
Ideally I'd use PascalCase for classes kebab-case for folders, snake_case for all else.
But I mostly just use thisunnamedcase.
CamelCase or _underscore?
undefined