Another question
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 |
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 |
i hold my ground
[B][I][URL="http://elek.vn"]den led tiet kiem dien [/URL][/I][/B]cua cong ty chung toi |
All times are GMT -5. The time now is 12:57 AM. |
Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.