3 ms·
Nobody knows C++. Nobody can know C++. There are situations that you will not interpret correctly no matter how much time you spend learning the language.
by 29athrowaway 5y ago
Nobody knows C++. Nobody can know C++.
There are situations that you will not interpret correctly no matter how much time you spend learning the language.
- AstralStorm 5y agoSame for C, with its tokenization and undefined or implementation defined behavior. It's a serious flaw in the language allowed because it makes writing optimizers and compilers easier.
- pjmlp 5y agoSame applies to any programing language that gets widespread industry adoption, with several implementation and years of production code, including C.
- jollybean 5y agoThis isn't true. Some languages are more complex than others and C++ is the Queen. I've never run into a bug in Java wherein a look at the compiler or runtim error, runtime stack and some look at StackExchange I couldn't solve. But I'm constantly fighting CMake, linker issues etc.. I avoid huge swaths of C++ because I consider them to risky to deploy without mastery.
- pjmlp 5y agoI doubt very seriosuly that you would surive a Pub Quiz of Java Puzzles that includes the Java language and standard library up to release 17. For bonus points we can include the Java implementations outside OpenJDK.
- jollybean 5y agoYou're right. But I would learn any new Java thing in a few minutes because it's explained and documented. I'm having difficulty compiling a Qt app right now due to complicated and arcane marco directives. The compiler / linker give me no information to work on, and there's no documentation. It takes 2x as long to develop in C++ it's grinding.
- pjmlp 5y agoI bet you also had to learn Java properly before having a go at it. C++ is also explained and documented as much as Java is. As for building, try to use Makefiles, Ant, Maven, Gradle when only being comfortable with one of them. Or configure the builds across all major IDEs.