apostolakisl Posted March 26, 2011 Posted March 26, 2011 I like it when names of things tell you what they are right off, or at least quickly remind you of what you might have learned in the distant past. To that end, I was wondering if it wouldn't make more sense to name the "state" variable "trigger" variables since they are capable of triggering a program. Or something else along those lines.
oskrypuch Posted May 15, 2011 Posted May 15, 2011 .... and enforce some distinct naming feature. I currently add a leading "_" (underscore) to each state (trigger) variable, that is the only non-alphanumeric I can add it seems. * Orest
sanders2222 Posted May 15, 2011 Posted May 15, 2011 From past programming experiences, I use a lower case i for interger and lower case s for state (e,g, $iAway, $sHome).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.