Many groups, companies and organizations have a style guide, in addition to the language specifications. These then require extra tools to check that the code confirms to this style. Or a manual verification. When someone switches from one group to another he has to learn using a different style. Or there is no specific style and code written by one person looks quite different from what someone else writes. It is very important that code is easy to read back. For example, consider these two C statements that do the same: for(int i=0;i<max_i;++i){ if(CNT>i)Callme(); } for (int i = 0; i < iMax; ++i) { if (count > i) callMe(); } Clearly the second version is much quicker to understand. White space is used to separate items and consistent naming is used. So let's enforce a reasonable style in Zimbu. Some of the rules are:
|
Design >