I'm curious about the coding convention in fossil with respect to
variable naming.  It seems that the code follows something like the
following convention:

 - integers have no prefix
 - strings have a "z" prefix e.g. zParam
 - pointers have a "p" prefix e.g. pSomething
 - function pointers have an "x" prefix e.g. xSaveAll

What else is there?  Is there any document that describes this
convention?  Perhaps also some rationale behind why this approach is
used (hungarian notation being a somewhat controversial topic).

Perhaps I'll even consolidate the info and contribute to the wiki...
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to