# HG changeset patch # User Olivier Delalleau # Date 1284754915 14400 # Node ID 10bc5ebb58237af2921052392708eb5b78aa3185 # Parent fab72f424ee0eec654f9beda4735e6c26bfbb7ad coding_style: Added note about the need to provide guidelines for serialization-friendly code diff -r fab72f424ee0 -r 10bc5ebb5823 doc/v2_planning/API_coding_style.txt --- a/doc/v2_planning/API_coding_style.txt Fri Sep 17 14:37:08 2010 -0400 +++ b/doc/v2_planning/API_coding_style.txt Fri Sep 17 16:21:55 2010 -0400 @@ -517,4 +517,9 @@ - Enforcing 100% test coverage of the code base - Providing ways to add type checking for function arguments - Conventions for script usage documentation and argument parsing + - Conventions for class / method / function documentation + - Guidelines for serialization-friendly code (hint: nested and lambda + functions, as well as instance methods, cannot be serialized, and + apparently there are some issues with decorators -- to be investigated). + diff -r fab72f424ee0 -r 10bc5ebb5823 doc/v2_planning/coding_style.txt --- a/doc/v2_planning/coding_style.txt Fri Sep 17 14:37:08 2010 -0400 +++ b/doc/v2_planning/coding_style.txt Fri Sep 17 16:21:55 2010 -0400 @@ -484,3 +484,9 @@ OD: It would be nice to have some standardized way of parsing a script's arguments and displaying the script usage doc to the user. +Recommendations for serialization +--------------------------------- + +We need to add coding style guidelines to make sure code is properly +serializable. +