jan: thuban/Doc/technotes coding_guidelines.txt,1.1,1.2

cvs@intevation.de cvs at intevation.de
Tue Aug 10 02:23:38 CEST 2004


Author: jan

Update of /thubanrepository/thuban/Doc/technotes
In directory doto:/tmp/cvs-serv28157

Modified Files:
	coding_guidelines.txt 
Log Message:
Added rule 'Method names start with lower case letter'


Index: coding_guidelines.txt
===================================================================
RCS file: /thubanrepository/thuban/Doc/technotes/coding_guidelines.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- coding_guidelines.txt	26 Feb 2004 11:22:30 -0000	1.1
+++ coding_guidelines.txt	10 Aug 2004 00:23:36 -0000	1.2
@@ -68,6 +68,15 @@
     - Use "obj is None" when testing for None not just "obj".  The
       object in question might be false without being None.
 
+    - Method names start with lower case letter.
+
+      The main reason is that we should, in the long term, adopt the more
+      common naming styles used in python code.  For Thuban this basically
+      means not to start method names with upper case letters. For Thuban this
+      would be a substantial change and even though it would be easy to retain
+      the old method names for a while for backwards compatibility it's not
+      something that should be done soon.  However, new classes should
+      follow this rule.
 
 Test Suite
 





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)