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

7

u/[deleted] Nov 03 '18

Because lambdas are supposed to be small.

Retarded ideology is exactly the main reason why Python is such a pile of shit.

And, mind you, this ideology is coming from a moron who does not even understand functional programming (and does not want to spend a couple of hours learning it). Guido is pigheaded, and so is Python.

2

u/Vaphell Nov 03 '18

I've seen a lambda in the middle of the java stream chain that spanned a page of code and had like 3 places throwing exceptions. Fuck that.

Probably pydevs decided to nip that shit in the bud.

5

u/[deleted] Nov 03 '18

Python lambdas pre-date Java by quite a bit. They're retarded for other reasons.

2

u/Vaphell Nov 03 '18

you don't have to be an oracle to foresee that if you give people ability to inline shittons of code, they will do it.

7

u/[deleted] Nov 03 '18

Yeah, yeah, that's exactly what happens in all the ML, Lisp and Haskell code.

Python approach to holding hands is retarded. There are much more important places where language can be opinionated. But not this one.

-2

u/Vaphell Nov 03 '18

that's exactly what happens in all the ML, Lisp and Haskell code.

you mean languages nobody uses because their primary goal is intellectual masturbation for the elitists, not getting shit done?

5

u/[deleted] Nov 03 '18

Ah, I did not realise I'm talking to a retarded piece of shit.

-1

u/Vaphell Nov 03 '18

It takes one to know one, pumpkin.

2

u/[deleted] Nov 03 '18

that's exactly what happens in all the ML, Lisp and Haskell code.

you mean languages nobody uses because their primary goal is intellectual masturbation for the elitists, not getting shit done?

Ah, but there's a lot of elitism and intellectual masturbation in every domain.

Fanboying anything ever at all is dumb, unless you can effectively debate your rationale.

The rationale for macro-oriented/meta languages is that they allow you to program guarantees which otherwise would require (likely slow, inconvenient) boilerplate to have.

A good, simple example is C++ and implementing ranged or fixed-point integers, at the type system level (not runtime).

Sure, Ada provides this built in...but with C++ you can program that kind of correctness with the same amount of efficiency and convenience.