Changes between Version 2 and Version 3 of Development/Efficiency


Ignore:
Timestamp:
10/01/13 11:40:08 (5 years ago)
Author:
jdsiiro
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Development/Efficiency

    v2 v3  
    1111     - ''avoid'' "`if x == True:`" or "`if x is True:`" 
    1212  - Justification: [attachment:test_truth.py source], [attachment:test_truth.txt results] 
     13 
     14== Function Signatures ==  
     15 
     16When defining and calling functions, Python allows several flexible formats, including classic positional arguments and keyword arguments.  Arguments may provide default values.  Variable (unspecified) positional and keyword arguments are allowed.   
     17 
     18  - Guidance: 
     19    - ''prefer'' explicit positional arguments with default values 
     20    - ''avoid'' unspecified keyword arguments (e.g., the "`**kwds`" idiom) 
     21  - Justification: [attachment:test_functions.py source], [attachment:test_functions.txt results]