you should only write C++ if your time as a human being is worth very little or someone pays you for the pain and suffering
Lol, I like that. Not that I know much about C++, or python, for that matter. But it reminds me of my days doing industrial controls. Once you learned to program Siemens PLCs in statement list (a very simple almost machine code like PLC language) you never wanted to see ladder logic again.
But the customers (for good reason) wanted ladder logic. So you just stuff the good programming or obfuscate stuff into functions and they never know.