diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-05-13 23:05:09 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-05-13 23:05:09 +0900 |
| commit | 422f92292378db134a4fad7411b45e4634ba65fb (patch) | |
| tree | d7ed3e7052552b7c9f92a5e1532bd1956c7c15aa /doc/coding_conventions.md | |
| parent | 4035d17a48cd2fd1aebc119790e1b6bc431eecdb (diff) | |
| download | mruby-422f92292378db134a4fad7411b45e4634ba65fb.tar.gz mruby-422f92292378db134a4fad7411b45e4634ba65fb.zip | |
smal coding_convention update
Diffstat (limited to 'doc/coding_conventions.md')
| -rw-r--r-- | doc/coding_conventions.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/coding_conventions.md b/doc/coding_conventions.md index a5c17ea79..8493501ef 100644 --- a/doc/coding_conventions.md +++ b/doc/coding_conventions.md @@ -10,7 +10,7 @@ The core part (parser, bytecode-interpreter, core-lib, etc.) of mruby is written mruby should be highly portable to other systems and compilers. For that it is recommended to keep your code as close as possible to the C99 standard (http://www.open-std.org/jtc1/sc22/WG14/www/docs/n1256.pdf). -Although we target C99, VC is also a important target for mruby, so that we avoid local variable declaration in the middle. +Although we target C99, VC is also an important target for mruby, so that we avoid local variable declaration in the middle. ### Reduce library dependencies to a minimum @@ -20,6 +20,8 @@ The dependencies to libraries should be put to an absolute minimum. This increas /* This is the prefered comment style */ +Use C++ style comments only for temporary comment e.g. commenting out some code lines. + ### Insert a break after the method return value: int |
