3 ms·
Former 6+ year C++ programmer here who made the switch in the late 90s. Fast build times. Removal of problematic/abused features like automatic type conversion
by stickfigure 10y ago
Former 6+ year C++ programmer here who made the switch in the late 90s.
Fast build times. Removal of problematic/abused features like automatic type conversion and operator overloading. Never having to hunt down a segfault. Good reflection facilities. Well-structured exceptions (despite the 'checked' misfeature). Compiler error messages are almost always intelligible and obvious - when you see them, which is rare, because the IDE just underlines bad code. Add opensource libraries to do almost anything with just a line of xml.
You can work around checked exceptions by not using them, and Lombok eliminates most of the really annoying boilerplate (including checked exceptions with @SneakyThrows). The generics implementation isn't perfect but at least it doesn't require hours of parsing header files on every single build.
I don't miss C++ at all.
- hermitdev 10y agoI work in finance, and I've cranked up warning levels to the max - I don't have any issues - except getting everyone on board. Once they realize why - it's smooth sailing. It can be hard when there is a language barrier, but you're best to combat it.
- aseipp 10y agoSo, basically, you didn't actually want anyone to answer your original question, from what I can tell -- you just wanted to repeatedly affirm you were right-all-along?