4 ms·
I tend to respect the programming language I am using - based on the offical recommendation, or what has naturally evolved over time. C, Odin :- my_function("
by masfoobar 2y ago
I tend to respect the programming language I am using - based on the offical recommendation, or what has naturally evolved over time.
C, Odin :- my_function("hi")
D, Java :- myFunction("hi")
C#, Pascal :- MyFunction("hi")
Lisp, Scheme := (my-function "hi")
Even these are not 100% accurate. For Odin, I would create a struct like MyStruct. In C, it would likely be my_struct_t.
etc.
In future, I might start following Anti Pascal Case for all languages
mYnEWfUNCTION("hi")