What notation you guys prefer when you're defining variables/functions...

1) foo_bar
2) FooBar
3) fooBar

I prefer the first one for variables, but always use the second one (Pascal notation) for functions.

Also does anyone prefer the ternary operator to if/else? I hardly use it.

Last edited by DJBMASTER; 07/28/09 12:50.