Mercurial > pylearn
changeset 1305:b60a9b6eee68
API_coding_style: Added point mentioned during meeting
author | Olivier Delalleau <delallea@iro> |
---|---|
date | Fri, 01 Oct 2010 15:27:03 -0400 |
parents | ca7e4829f6a0 |
children | ef0f3deead94 |
files | doc/v2_planning/API_coding_style.txt |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/v2_planning/API_coding_style.txt Fri Oct 01 14:56:54 2010 -0400 +++ b/doc/v2_planning/API_coding_style.txt Fri Oct 01 15:27:03 2010 -0400 @@ -318,6 +318,9 @@ test infinite / NaN values. This is important because ``numpy.nan != float('nan')``. + * Whenever possible, mimic the numpy / scipy interfaces when writing code + similar to what can be found in these packages. + * Avoid backslashes whenever possible. They make it more difficult to edit code, and they are ugly (as well as potentially dangerous if there are trailing white spaces).