>camelCase
>PascalCase
>kebab-case
>COBOL-CASE
>snake_case
>MACRO_CASE
Which one does Jow Forums prefer and why?
CamelCase
Your mom. She's good.
Pascal or camel depending on the context.
I personally like pascal.
In b4 some boomer tries to roast me
I really REALLY like the CSFML notation.
This is literally just a poor man's namespace
That's what I like about it.
what are objects if not but a poor man's namespaces?
A collection of states
A description of an instance
ah, trapped in the plato's cave, ain't we? State is not real. It does not exist. It is just an alias for the values.
>State is not real. It does not exist. It is just an alias for the values.
I use whatever makes my code consistent with the provided language APIs.
But enough talk… Have at you!
kebab case or snake case provides the optimal readability
>just played through SotN for the first time ever
>see this
OwO
>Hungarian Notation is a namespace
Do you bite your thumb at me sir
nocase if readable
else snake_case
Camel if you are employeed
camelCase for functions
PascalCase for constant object properties
MACRO_CASE for constant variables
snake_case
aLtErNaTiNg_cAsE
tHiS
Whatever_IFeelLikecase, combined with var1, var2, n, i, x, str1, str2…
I have a problem…
the one that's recommended by docs of language i'm using.
1337sp34kc4s3
I like referring to it as SCREAMING_CASE
Anything but camelCase. Java and its consequences have been a disaster for the programmer class.
PascalCase for functions
MACRO_CASE for constants
camelCase for everything else
I use camel, Pascal, and snake for different things. I do it only out of habit and not because of any preference thing
>Thinking that will undertand you without having to look it up.
I do bite my thumb, sir.
Th15
MACRO_CASE - constants
camelCase - scoped variables
snake_case - functions
PascalCase - global variables
kebab-case - file names
I dont know why anyone would use COBOL-CASE desu
OR_MENTAL_CASE!
(defun 6->7 (n)
(if (= n 6)
(1+ n)
nil))
(6->7 5)
=> nil
(6->7 6)
=> 7
There's literally no reason why you couldn't name your symbols however the fuck you wanted.
I use all three randomly whenever I want! You think one case alone can withstand my power? No! That is why I must use every single one at regular intervals. But telling you this wouldn't matter as you probably use only one! HAH!
The_Best_Case
>camelCase
poo
>PascalCase
Types
>kebab-case
(((symbols)))
Camel for private and localscope variables.
Pascal for public properties and method/function names.