summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-05-13 22:20:37 +0900
committerYukihiro Matsumoto <[email protected]>2012-05-13 22:20:37 +0900
commit4035d17a48cd2fd1aebc119790e1b6bc431eecdb (patch)
tree09f6979851eff7e7766bf478ddc2473709f8b685 /doc
parent792dcba600d1171feea39c44104832e6e6204c77 (diff)
downloadmruby-4035d17a48cd2fd1aebc119790e1b6bc431eecdb.tar.gz
mruby-4035d17a48cd2fd1aebc119790e1b6bc431eecdb.zip
mention avoiding declaration in the middle
Diffstat (limited to 'doc')
-rw-r--r--doc/coding_conventions.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/coding_conventions.md b/doc/coding_conventions.md
index 3d3d9d6f4..a5c17ea79 100644
--- a/doc/coding_conventions.md
+++ b/doc/coding_conventions.md
@@ -10,6 +10,8 @@ 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.
+
### Reduce library dependencies to a minimum
The dependencies to libraries should be put to an absolute minimum. This increases the portability but makes it also easier to cut away parts of mruby on-demand.