@JCash wrote a great blog post about the Defold engine code style:
https://defold.com/2020/05/31/The-Defold-engine-code-style/
It provides some much needed background and answers a lot of the questions we’ve received about the lack of modern C++ features in the Defold source code.