Page 1 of 1
How should variables and user def'd function names be cased?
Posted: Sat May 21, 2016 4:41 pm
by gcr
Hi,
Should variables and user defined functions be all upper case?
Is it OK to mix their case?
What is the standard casing strategy?
Playing around I see that Daylog seems to be case sensitive; which is great.
Sincerely,
Grant Rettke
Re: How should variables and user def'd function names be ca
Posted: Tue May 24, 2016 6:25 am
by MBaas
I'd say it's a matter of personal taste/style. Personally, I dislike ALL UPPERCASE NAMES, reminds me of ancient times when only that was available - although I never worked in such environments ;-)
Re: How should variables and user def'd function names be ca
Posted: Tue May 24, 2016 7:02 am
by DanB|Dyalog
I think it is a matter of personal taste.
Personally I use lowercase for locals, uppercase for globals and mixed case for programs and more important locals.
Whatever you choose make sure you stick to it though otherwise you will confuse your readers and even yourself!
Re: How should variables and user def'd function names be ca
Posted: Tue May 24, 2016 1:54 pm
by gcr
Gotcha. Thank you MBaas and DanB|Dyalog.