Changeset 13660
- Timestamp:
- 10/15/12 10:02:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/python_test_guidelines.txt
r13659 r13660 5 5 - Make indentation consistent in appearance as well as content (e.g., don't mix tabs and equivalent number of spaces). 6 6 - Separate statements on separate lines are more general. 7 - Be careful with vectors vs. column arrays (unfortunately Matlab does not distinguish). 7 - Be careful with vectors vs. column arrays (unfortunately Matlab does not distinguish). Documentation (like in the class def) showing whether more than one column is possible is very helpful. 8 8 - Be careful with variable names that might be reserved words in other languages (e.g. "list"). 9 9 - Weird shortcuts for a particular language are not very general.
Note:
See TracChangeset
for help on using the changeset viewer.