WhyIsItReal [he/him] to the_dunk_tank • edit-24 years agosnake case is cringemessage-squaremessage-square3 fedilinkarrow-up18file-text
arrow-up16message-squaresnake case is cringeWhyIsItReal [he/him] to the_dunk_tank • edit-24 years agomessage-square3 Commentsfedilinkfile-text
minus-squarekleeon [he/him, he/him]hexbear3·4 years agosnake_case for functions camelCase for variables PascalCase for structs you've been owned link
minus-squareWhyIsItReal [he/him]hexagonhexbear2·4 years agoimagine ever using snake case. camelCase for functions and variables, PascalCase for class. really the only time snake case is reasonable is types, but that strongly depends on the language. typedef int BasicInt looks weird to me, it seems like it should be a class link
snake_case for functions
camelCase for variables
PascalCase for structs
you've been owned
imagine ever using snake case.
camelCase for functions and variables, PascalCase for class.
really the only time snake case is reasonable is types, but that strongly depends on the language.
typedef int BasicInt
looks weird to me, it seems like it should be a class