I've noticed the following naming conventions present in TW5:

   - Root namespaces all appear to be lowercase, with no exceptions.
   - System tiddlers use a variety of different naming conventions 
   including lowercase, hyphen-case, CamelCase or a mixture of the three as 
   explained here <http://tiddlywiki.com/#Naming%20of%20System%20Tiddlers>. 
   I'm not sure what the rationale for the chosen convention is in each 
   namespace though.
   - Classes almost always begin with a two-letter prefix such as "tc" or 
   "tm" followed by the class name which sometimes includes hyphens and 
   sometimes not.
   - System tags appear to always use CamelCase but can included slashes 
   ("/") for hierarchy, such as $:/tags/AdvancedSearch/FilterButton.
   - Field names are always lowercase or hyphen-case.
   - Widgets and macros always appear to be lowercase or hyphen-case.
   - I can't seem to find compoundNames used anywhere, oddly enough.
   
I was wondering if there was an established rationale behind these naming 
conventions? Are there specific situations where you would choose to use 
CamelCase instead of lowercase, or lowercase instead of hyphen-case, for 
example? If so, is this naming convention explained anywhere for us to 
reference?

I'd like to follow the established conventions as much as possible, if they 
exist.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/be69c178-1975-4035-9668-040b0ed5c6f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to