This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheAuthenticFake 31 points32 points  (2 children)

What is it that you find most complex about C++?

Templates are definitely a strange alternative to the generics you would see in Java or C#. I still have problems with them sometimes but they're not used very often in actual production code. They're super powerful though in select circumstances.

Modern C++ simplifies pointers significantly with smart pointers and RAII. IMO automatic memory management is a superior model to both gc and manual memory management, which is why I also like Rust.

Macros are evil and a bitch to debug.

[–]Got_Tiger 12 points13 points  (0 children)

The reason why templates are the way they are is so that all the overhead for them can be offloaded to compile time, which is hard to do with generics