Yahoo Groups archive

SynthModules

Index last updated: 2026-04-28 23:14 UTC

Message

Re: variable naming (or, much ado about nothing?)

2004-05-14 by djbrow54

> I. ALL CAPS
> Why are we using all caps? The language is not case sensitive. Just
curious.
I hate all caps but sometimes it does make the code easier for me to
read.  Takes longer to write it, though, so I prefer all lower case.

> II. Designator for common variables
I tried using easier names but many are reserved, especially in, out,
etc.  I use longer names sparated by _suffix to group similar 
variables 
> 
> III. Names
I tend to use abbreviations separated by _

I did a quick modification on my PSIM TEMPLATE code in the code
fragments folder with lower case and new variables and names.  Take a
look and compare the two.  I much prefer the latter (rev0.41).

Dave

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.