This is extremely simple: when writing language X, use the naming convention used in the X standard library. Exceptions:
- C stdlib doesn't really use any, but basically all old big libraries and other codebases use under_scores, so use them.
- PHP uses absolutely everything. This is irrelevant, because you shouldn't use it in the first place.
camelCase != PascalCase >>7,14,16,19 are the same person
Name:
Anonymous2007-09-28 4:26 ID:T5fdRHeZ
>>23
I think I'm three of them, but not four of them.
Also, what's that PascalCase thing that's properly written in CamelCase? I've only heard of CamelCase and shitCase. shitCase is bullshit used by Java morons. And it's shit because you can't tell a one-word method from a variable. I use CamelCase for applicable objects, such as classes, functions or functors, and lower_case for non-applicable objects. Every other naming convention sucks for production code.
Name:
Anonymous2007-09-28 5:54 ID:1w7vT500
When in Rome.
Name:
Anonymous2007-09-28 6:49 ID:00Bo1b5s
>>24
what about K&R? its the same, except it uses lowercase
What the fuck does that have to do with it? Switch - and _, fucknut.
Name:
Anonymous2009-02-25 6:51
The read head and available for immediate execution There was a program to use for web.
Name:
Anonymous2009-03-06 8:00
One-word method from a function who returns a pointer int.
Name:
Anonymous2009-03-06 8:34
Include vector int main char buffer 100 fgets buffer 100 and propably get a segfault except if it finds a website containing open source code filename program description.