4 ms·
> Once a C program gets large enough, it seems to become rather "OO" naturally Very well put. One of my current projects started in plain C but gradually evolv
by fisherjeff 10y ago
> Once a C program gets large enough, it seems to become rather "OO" naturally
Very well put. One of my current projects started in plain C but gradually evolved to the point that it just "became" a C++ project. Once you write the same code a few times in a few different places, it's blindingly obvious what would be would be less painful if represented as objects. And so on with other language constructs (inheritance, templates, etc.).
- userbinator 10y agoThe main point I'm trying to get across is to let it happen naturally, instead of trying to force everything to become objects and methods. There will still be parts that are "not OO", but they are not OO because they don't need to be; and that's perfectly fine.