4 ms·
Every time I read about modern C++, I'm amazed at how different the language looks compared to how it was when I last used it heavily, around 10 years ago. It's
by edanm 8y ago
Every time I read about modern C++, I'm amazed at how different the language looks compared to how it was when I last used it heavily, around 10 years ago. It's had amazing progress, it looks way more "modern" and really seems like a brand new language.
- mromanuk 8y agoI was using it 20+ years ago (highschool) then used it in my previous startup (10 years ago). Amazing how it keeps evolving and modernizing. auto typing keeps growing, reminds me of Swift.
- pjmlp 8y agoWhile true, many of the modern idioms were already possible in C++98 when you look at what was being done in OWL, VCL, CSet++ and other similar libraries. I mean, even RAII was already a thing in MS-DOS C++ code bases. However, many kept using it as if it was C with some extras.
- mhd 8y agoIt didn't exactly help that "many" included the platform toolkit authors. MFC made me look at Motif fondly. Never mind compiler support. I just recently noticed with delight that I finally forgot the exact VC #pragma numbers to disable all the STL warnings. Which gives me hope that one day I'll manage to do the same to ORA-00907.
- pjmlp 8y agoYep, agreed. MFC wasn't something I would list as good C++ GUI examples. Unfortunately Borland just made a mess of their customer base. Even today, Visual C++ is not as visual as C++ Builder.
- coldcode 8y agoI haven't done an C++ in about 6 years, and that was basically a mix of horrible C++ from the 90's and C. It's nice that that language has evolved. I still prefer Swift (or Rust or Kotlin or even Go for other things). I don't miss C++ at all. C++ used to be the only real choice for high performance code (like games, which that earlier referenced codebase was) but today there are many more choices.