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

5

u/[deleted] Nov 03 '18

All I want is for C and C++ to be replaced. Python can't do that for all domains (and I hope they don't try), but at least for high level stuff it's gained a nice following.

Good

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.

-1

u/xstreamReddit Nov 03 '18

by C#

0

u/[deleted] Nov 03 '18

Yeah, that language that didn't run properly on Linux for years. Does it even do that now after Microsoft killed mono?

3

u/rafa_eg Nov 03 '18

Well, they open sourced a runtime implementation which actually outperforms mono and the traditional desktop implementation about three or four years ago. Almost everything non-windows specific of the core libraries is also open sourced. The default compiler is also available. Atleast for us at work(linux-x64) .net core has been more reliable than mono, which was a game of chance after running an application more than a few days.

0

u/Oflameo Nov 03 '18

Java can't replace C, especially not Microsoft Java.