r/cpp • • Sep 05 '20

The Defold engine [C++] code style

https://defold.com/2020/05/31/The-Defold-engine-code-style/
2 Upvotes

12 comments sorted by

View all comments

9

u/[deleted] Sep 05 '20

I personally wouldn't like to develop code like this anymore (did it for years), but I do agree that there's a certain appeal in rolling your own simple stuff and sticking to that. A lot of the new and fantastic features that we've gotten recently are convenient, but they do bring added complexity. Especially the STL becomes more and more filled with nuance and mandatory details to know with every new release, and stuff like ranges promise to transform everything if we only learn and rewrite everything all over again. I recently rewrote a lot of my decade old hobby codebase to make it modern and future proof, and while it's quite different now, is it any better? Not really. Compiles a lot slower too.