Changes between Version 37 and Version 38 of coding_rules
- Timestamp:
- 06/11/21 14:36:50 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
coding_rules
v37 v38 89 89 }}} 90 90 91 === Vim Folding === 92 Classes, functions, and other logical blocks of code should be folded (note the exact formatting used below): 93 {{{ 94 function foo() % {{{ 95 [...] 96 end % }}} 97 }}} 98 99 91 100 == Python == 92 101 … … 127 136 As with MATLAB, at the very least, the first line and the 'Usage' should be provided. Unlike MATLAB, use indentations of 4 and 8 spaces. 128 137 138 === Vim Folding === 139 Classes, functions, and other logical blocks of code should be folded (note the exact formatting used below): 140 {{{ 141 def foo(): # {{{ 142 [...] 143 # }}} 144 }}} 145 129 146 === MATLAB Built-In Equivalents === 130 147 The following is a list of MATLAB built-in equivalents in Python: