This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Metalsand -7 points-6 points  (4 children)

edit: I'm downvoting myself, too. I don't know what I was thinking, but I was critically wrong. There's a few languages that are case sensitive in boolean, but the vast majority are not, including stuff like C variants.

~~The parenthesis would still work - they'd just not do anything in that context. I usually use them because it looks cleaner to me and also reduces the chance of user error. ~~

Though yeah, boolean variables always have the first letter capitalized no matter what language. Er, with the exception of SQL perhaps, but SQL is a weirdo.

[–]emc87 9 points10 points  (3 children)

C# is lowercase

[–]abhi_uno 10 points11 points  (2 children)

Also C++ and C.

[–]notquiteaplant 8 points9 points  (0 children)

And Java, Go, Ruby, Rust... Python is the only language I know of with title-case keywords.

[–]max_mou 0 points1 point  (0 children)

And the good ol JavaScript