4 ms·
I've always wanted to get back into programming in modern C/C++ (C++14 onwards). It's been a long while since I've programmed professionally in a statically-ty
by ameen 10y ago
I've always wanted to get back into programming in modern C/C++ (C++14 onwards).
It's been a long while since I've programmed professionally in a statically-typed language.
Are there any resources that would help one getting started with a Modern statically-typed language?
- biocomputation 10y agoAssuming you already know C++ 03, C++ 11 / 14 / 17 aren't that difficult to pick up. Just get a compiler and start writing software. I'd say the most difficult area is templates, but templates are just difficult in general. As a C++ developer, I always find it funny that people from dynamically typed languages such as JS are ever interested in C++. It's SO much more difficult to develop GUI-based products in C++ than in just about any web stack. On the other hand, type safety is a great thing. I long for the day when I can do web apps and desktop apps with the robustness of C++ but the flexibility of HTML/CSS/JS. ( I'm not talking about bloatware like Atom/Electron. ) There are days when I wish I'd never learned about 'owner draw'.
- hellofunk 10y agoQt is a very robust GUI framework in a C++ environment, but since version 5.0 allows fast UI development using a scripting language called QML that interacts well with its C++ underlying engine. It's like designing for the web but with a lot of extra perks. Barring that, there is also Elm for static web GUI programming which is worth a look.
- blub 10y agoQt makes C++ UI development very manageable it's one of the most solid and easy to use tools for building GUI software. Qt QML is also quite fun to use and declarative like HTML except designed from the ground up for building graphical interfaces and not for creating documents. Edit: looks like we posted about Qt at the same time.
- StackedCrooked 10y agoCheck out Scott Meyers' "Effective Modern C++".
- hellofunk 10y agoGood book, but not a good intro book. Just its first chapter dives right into some rather complex matters surrounding decltype that are often not needed, especially for those new to the language.
- kabouseng 10y agoI upvoted again because op said he wanted to get back into C++ and I agree Scott's book is exactly the resource for this purpose.
- hellofunk 10y agoA short but useful overview of the modern C++ is Stroustrup's "Tour of C++" which is a quick read and will get you into all the main features without going to deep. Just make sure you get a recent edition.