Prev (Commit Code) | Home | Manual | (Compile Instructions for Windows) Next


Coding Guideline

No one likes them but it helps to read and maintain the code. Thus please stick to them:

  ...
    if(item == nullptr)
    {
        return;
    }
  ...
    int n;
    int maxBrownFoxes;
    class CMyClass
    class IItem
    {
        ....
    };

    class CMyItemX : public IItem
    {
        // I think you get the idea.
    }
   struct my_funny_data_t
   {
       ....
   };
   enum my_enum_e
   {
        eMyEnumThing1
       ,eMyEnumThing2
   };

I think that’s it. Just look at the code and try to mimic the coding style as good as you can. A bit of discipline really helps to maintain the beast.


Prev (Commit Code) | Home | Manual | (Compile Instructions for Windows) Next