logoalt Hacker News

mohamedkoubaatoday at 4:33 PM2 repliesview on HN

I would go far as to say that modern C++ is an Eldritch horror of a programming experience


Replies

pjmlptoday at 4:50 PM

Unfortunately no one is going to rewrite LLVM, GCC, CUDA, DirectX, Metal, SYSCL, V8,... into something else.

Same applies to C and UNIX/POSIX, OpenGL/Vulkan/OpenCL/NVN/LibGNM(X),...

Thus analysers and language subsetting tools, enforcing language style guides and safer coding practices.

rramadasstoday at 6:08 PM

Oh come on; that is BS and you know it.

It is complex/complicated/baroque but for the power, flexibility, real-world-usage that it provides it is worth the effort. The mistake that people make is to try and learn it all at the same time which overwhelms them.

Use a good book like Discovering Modern C++: An Intensive Course for Scientists, Engineers, and Programmers by Peter Gottschling and you should have no problem at all.

show 1 reply