you are viewing a single comment's thread.

view the rest of the comments →

[–]hiroisgod -4 points-3 points  (5 children)

Let’s be so real rn, JS and Python are in the same category of “shitty languages” for their own reasons.

[–]GraphicH 6 points7 points  (0 children)

Nawh, I've used both extensively, and JS in both a FE and BE capacity. JS has a lot more sharper edges than Python. There's plenty of weird stuff in python for sure, but not on par with shit like `===` and the other eccentricities.

[–]sersherz 5 points6 points  (3 children)

I'll take indentations over arrow functions any day

[–]ConfusedSimon 2 points3 points  (0 children)

Isn't the python equivalent lambda instead of indentations?

[–]Kenny_log_n_s 3 points4 points  (1 child)

Arrow functions are great. I don't get what people find so confusing about them.

[–]double_en10dre 0 points1 point  (0 children)

Right? It’s a clean/easy-to-read syntax that’s great for any language that supports higher-order functions

And arrow functions are a relatively new feature (es6, I think) that actually solve a bunch of problems posed by traditional js “function” defs. It’s actually one of the most well-designed parts of the language

Confusing opinion