PDA

View Full Version : Another question


jrrTolkien
05-24-2014, 10:32 AM
Um, this may be just part of the teacher's bias, but in my class, I'm supposed to answer a few questions, and one of them is "when should variables be named in all uppercase letters?" I looked through all of her course material, but I couldn't find her answer. Is there some rule in general programming about naming variables that I don't know about? It might just be that this is my teacher's opinion, but I can't find her answer.

-Jrr

chickentree
05-25-2014, 10:07 AM
It is common for global variables and constants, and the names of macros to be defined in all caps. This is a widely used convention but is not required in any language I can remember working with.

Mark

kopi
05-25-2014, 09:48 PM
i hold my ground


den led tiet kiem dien (http://elek.vn)cua cong ty chung toi