Gossamer Forum
Home : General : Chit Chat :

Academia, Naming conventions for programming languages

Quote Reply
Academia, Naming conventions for programming languages
Ok, I just have to vent my frustration on this stuff. I thought I'd post here instead of the Perl forum as it's really not a programming question per say.

I was in my C++ data structures lecture today and my instructor was telling us that he was changing his style of naming variables to a new way he had been seeing in various texts. He proposed the following:

int myVarName;

I know that some people have probably used this before, but I think it's just a dumb way to decare something. Mixes cases just makes it look messy in my opinion.

I tend to use this style as it seems alot more readable:

int my_var_name;

And uppercase like this for globals:
int MY_VAR_NAME;

I don't know, what does everyone else think. I know I'm kind of making alot of something so trivial but we have to follow is style of coding in the class so it's going to be very awkward to say the least.

Later,
Paul
http://www.fullmoonshining.com for Pearl Jam Fans
Subject Author Views Date
Thread Academia, Naming conventions for programming languages haplo 6484 Jan 16, 2002, 7:31 PM
Thread Re: [haplo] Academia, Naming conventions for programming languages
Mark Badolato 6161 Jan 16, 2002, 9:45 PM
Post Re: Academia, Naming conventions for programming languages
QooQ 6061 Jan 17, 2002, 5:23 AM
Thread Re: [Mark Badolato] Academia, Naming conventions for programming languages
haplo 6076 Jan 17, 2002, 1:59 PM
Post Re: [haplo] Academia, Naming conventions for programming languages
Michael_Bray 6020 Jan 18, 2002, 5:12 AM