Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

naming conventions

Name: Anonymous 2007-05-19 22:21 ID:Hhy+e3mf

What's /prog/'s preferred naming convention for C-like languages? Personally I find CamelCase easier to type, but under_score easier to read.

Name: Anonymous 2007-05-21 4:03 ID:J0SprHEB

I use one true convention:

DEFINE_CONSTANT
ClassName
MethodName
FunctionName
variable_name (arguments, important variables)
i, j, k (loop variables, temporary variables)

Also, braces are like:

for (;;) {
    //True braces convention
}


P.S.: shitCase looks fugly and sucks big time.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List