View Single Post
  #2  
Old 01-04-2026, 09:21
WhoCares's Avatar
WhoCares WhoCares is offline
who cares
 
Join Date: Jan 2002
Location: Here
Posts: 468
Rept. Given: 11
Rept. Rcvd 32 Times in 25 Posts
Thanks Given: 69
Thanks Rcvd at 247 Times in 94 Posts
WhoCares Reputation: 32
https://www.learncpp.com/

or read the primer books by Bjarne Stroustrup:
https://www.stroustrup.com/

C++ contains a lot of features which can be considered deprecated or only for compatibility with old code base(pure C or before modern c++)

such as:

"enum class" vs. "enum",
"std::variant" vs. "union",

IMHO, 3 of the most important concepts(philosophy) of C++:
type-safe(through compile-time check)
exception-safe (through RAII and unwinding)
compile-time optimization(through template metaprogramming, constexpr/consteval, static reflection)
__________________
AKA Solomon/blowfish.

Last edited by WhoCares; 01-04-2026 at 21:38.
Reply With Quote
The Following User Says Thank You to WhoCares For This Useful Post:
Utshiha (01-05-2026)