Hi Guys, I don't see any reason to change the divce files. It might however be a good idea to look at the casing of the vars when they are used. I would even like a compiler option to make variable / constant / procedure names (all but keywords?) case-sensitive and use this for buidlbot...
Joep 2010/2/19 Sebastien Lelong <[email protected]>: > Hi guys, > > > 2010/2/19 mattschinkel <[email protected]> >> >> Rob has suggested that all pins and registers should be in caps >> although these are not constants, what does everyone else think? > > pins are written like this: "pin_XX". Mixed case. I think this is some kind > of legacy rule, these have always been written like this before. > Same for registers: upper cased, while not constants. I prefer having them > like that: lower cased would make them smaller and less visible, as if it > was coming from the code just like a variable (well, they come from some > code, but represent something in holy datasheets). > Cheers, > Seb > >> >> I would like to come up with a standard and add it to the jallib style >> guide. Do you think we need a standard on this? >> >> Our discussion was here: >> >> >> http://groups.google.com/group/jallib/browse_thread/thread/8e32af0bfa31bd9e/1ff6e6f1bda2bca0#1ff6e6f1bda2bca0 >> >> Thanks, >> Matt. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "jallib" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/jallib?hl=en. >> > > > > -- > Sébastien Lelong > http://www.sirloon.net > http://sirbot.org > > -- > You received this message because you are subscribed to the Google Groups > "jallib" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/jallib?hl=en. > -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
