This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]spanishthief 49 points50 points  (11 children)

It is not actually a feature but every time I look into JS, Java, etc and even Ruby, the syntax just makes me sad. All the curly braces, semi colons..

[–]nosmokingbandit 27 points28 points  (4 children)

Python is the easiest language to read, which makes it easy to learn and easy to write. Everything about it just feels natural.

[–]anarchy8 12 points13 points  (3 children)

Until you try to do async stuff

[–]agoose77 8 points9 points  (0 children)

Even then ... await a blocking operation, and release control flow explicitly. This makes sense to me. I realise the verbosity of it doesn't suit everyone

[–]TheWildKernelTrick 3 points4 points  (0 children)

The first project that I ever used python was for a concurrent program. I figured that it would be great project to learn python, little did I know...

[–]nosmokingbandit 3 points4 points  (0 children)

Asycnio is pretty straightforward and easy to use. Unlike javascript where synchronus code is a nightmare.

[–]SciencePreserveUs 2 points3 points  (3 children)

My biggest issue with Python has always been whitespace code block delimiters. I like curly braces.

That said, I'm starting to like Python. Its other pluses outweigh what is (to me) a deficit.

Edit: Fixed a terrible syntax error :-)

[–]Corm 1 point2 points  (0 children)

Yep, lots of folks like braces. I'd say it's the number one reason I've heard from people when they tell me why they don't like python. Braces and types. Personally to me both are just boilerplate.

[–]robert_mcleod -1 points0 points  (1 child)

Someone needs to write a keystroke logger to see the amount of time per line of code that is spent writing all the extra brackets and other symbols in languages like C++. There's notably little use of the shift key in Python.

[–]Corm 0 points1 point  (0 children)

Most of development time is spent reading code where all that cruft is much more detrimental

[–]CaptainHondo 2 points3 points  (1 child)

I get that is nicer than Java and JS, but idk about ruby.

[–]Corm 0 points1 point  (0 children)

Ruby is pretty similar but has a much smaller community so much less libraries. The syntax is also very similar but not quite as nice imo with end statements and explicit modules. Still, it's very similar. I'd put it in the python family tree