AlemSnyder / Fun-Game

I am just practicing c++. Feal free to enjoy.
GNU General Public License v2.0
1 stars 0 forks source link

Consistent class style #31

Closed egelja closed 1 year ago

egelja commented 1 year ago

Make all classes like

class Foo {
    // Private vars...

 public:
    // Public vars...

    // Public fns...

private:
    // Private vars...
};

Why?

Show me your flowcharts and conceal your tables, and I shall continue to be mystified. Show me your tables, and I won't usually need your flowcharts; they'll be obvious - Fred Brooks

Data is more important than code.