Talk:Discordian date: Difference between revisions

→‎D Entry: constants
(+ D entry section)
(→‎D Entry: constants)
Line 32:
 
- The scope of variables should be minimized. So arrays like 'seasons' can go in the function scope and avoid polluting the module namespace.
: Since these constants are fundamental to Discordian dates, they are more useful in the module namespace: other modules could query them and new functions added to the module would be able to see them immediately. [[User:Fwend|Fwend]] ([[User talk:Fwend|talk]]) 15:15, 25 July 2013 (UTC)
 
- Some variable names like dYear now have an upper case in the middle to underline their inner words. It's normal D style.
Anonymous user