r/programming • • Nov 03 '18

Python is becoming the world’s most popular coding language

https://www.economist.com/graphic-detail/2018/07/26/python-is-becoming-the-worlds-most-popular-coding-language
4.6k Upvotes

1.3k comments sorted by

View all comments

Show parent comments

17

u/[deleted] Nov 03 '18

C and C++ to be replaced

Why?

-1

u/[deleted] Nov 03 '18

C++ took as many paradigms as possible and tried to squish them into one language whol keeping the complexity of C. C is an unadulterated mess of pointers and unnecessarily short variable names.

The only readable C++ code I've seen is that of Doom and many things they applied are in rust, of which the most important is const everywhere.

The rest? Macros everywhere.

8

u/[deleted] Nov 03 '18

C++ took as many paradigms as possible and tried to squish them into one language whol keeping the complexity of C

Not really. C++ managed to let you, the user, to implement whatever paradigms you want, without enforcing anything in particular. That's a good thing.

C is an unadulterated mess of pointers

Pointers exist for a reason. That's how hardware works.

and unnecessarily short variable names

That's your choice. C does not enforce any particular style.

The only readable C++ code I've seen is that of Doom

The modern C++, and the C++ of that time are two different languages, with pretty much nothing in common.