4 ms·
I keep jumping between C++, Python and Java for various projects, and really, they are different worlds. In C++ you think hard about your problem, create stron
by Iv 7y ago
I keep jumping between C++, Python and Java for various projects, and really, they are different worlds.
In C++ you think hard about your problem, create strong abstractions that translate into fast execution. That's a highly satisfying engineering job.
In Python you do happy exploratory programming. Changing data structures on the fly, hacking your way through unexpected problem by doing crass things like adding members to a class at runtime.
You can do exploratory programming in C++ but that requires a lot of additional work to experience a fraction of that freedom. And you can do solid engineering in python but that requires as well a lot of additional work.
Different tools for different things. Python is the off-road bike you take for a bit of fun in the forest. C++ is the family car you take to do the week's grocery.
- echelon 7y ago> In C++ you think hard about your problem, create strong abstractions that translate into fast execution. That's a highly satisfying engineering job. C++ is an awful language that requires too much thinking. Make a mistake and you'll pay for it with hidden memory leaks and segfaults. It offers no help. No other mainstream language is quite so unforgiving. Rust, Go, and Swift will hopefully relegate it to the dustbin. (Of the three, only Rust is suitably non-GC'd for bare metal requirements.) > C++ is the family car you take to do the week's grocery. C++ is the Soyuz space capsule. You'd better pack a gun, because there might be bears where you land.
- pjmlp 7y agoSpecially when one insists in coding C++ like C.
- otabdeveloper2 7y ago> It offers no help. Try using a compiler that wasn't made in the last millennium.