On Monday, July 2, 2018 at 3:11:41 AM UTC-3, Öö Tiib wrote:
> On Saturday, 30 June 2018 13:32:16 UTC+3, Richard Bos wrote:
I think the opposite topic also would be good:
"C for Modern C++ Programmers"
The reason is because C programming is about
patterns and techniques trying to archive simplicity
and performance in a much more "flat" and direct design.
Too much abstractions or too generic code creates a
different problem from the original one and some modern
C++ programmers are going on this path.
Even if your C++ looks nice it may require a lot a concepts
and specific c++ compiler mechanics knowledge.
When the tool is too hard to operate and gives you a lot
of options it also can become dangerous or unpractical to learn
/teach and use.
That said, I think the challenged in C++ is keep the code
"flat" and not try to be too clever and abstract.
Also, when improving existing code, in C or C++ 03, it can
generate a messy in the code base having many styles of modern and
old code at the same source especially in features that have two
ways to write equivalent code (e.g enum X enum class / using X typedef / auto func() X int func() / nullptr X NULL ...)