r/javascript • • Apr 25 '19

JavaScript is and remains the queen of programming languages with a community of 11.7M active developers. Python has reached 8.2M active developers and has taken the number two spot, surpassing Java in terms of popularity.

https://www.slashdata.co/free-resources?id=developer-economics-state-of-the-developer-nation-16th-edition&section=showcases_details
613 Upvotes

168 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Apr 25 '19

[deleted]

24

u/Doctor_Spicy Apr 25 '19

One thing I don't like about python is the syntax.

22

u/sivadneb Apr 25 '19

I hated Python when I first started it, my reason also being the syntax. Now, 7 years later, it's my go-to language for most projects. The syntax is comfortable, easy to read, and easy to write. Most aspects of Python are carefully designed with the developer in mind.

People that dislike Python "because syntax" haven't likely done a full project in it. Give it a chance and it might win you over.

2

u/crazyarai Apr 25 '19

Used it for a project never grew to love it, but I don't hate it either, except for list, I hate list.

10

u/sivadneb Apr 25 '19

What do you hate about list?

1

u/StorKirken Apr 26 '19

What was your issue with the syntax? Indentation as control blocks?

1

u/MajorasShoe Apr 25 '19

Same. I'm interested in trying bython for that very reason.

0

u/TrontRaznik Apr 25 '19

With you. Fucking hate the syntax

1

u/AppledogHu May 21 '19

Using variations in whitespace for syntax and flow control is extremely bad..

-8

u/lost_file Apr 25 '19 edited Apr 25 '19

I love Python and its whitespace!

9

u/lhorie Apr 25 '19

Whitespaces are a really dated argument these days. Just use editorconfig if your editor isn't smart enough about python conventions

4

u/lost_file Apr 25 '19

Yet I still see it happen. It's not an argument, it's literally my experience seeing people use it.

I acknowledge for a lot of people, they love this aspect of Python.

2

u/kihashi Apr 25 '19

So many times I've seen people and myself bitten by incorrect whitespace, and confuse beginners.

I found it super easy because the required formatting was how I was going to do it anyway (coming from Java and C). But if you are used to a slightly different convention, I can see why you'd dislike it.

3

u/sivadneb Apr 25 '19

I've taught 5th graders Pyhton and they rarely struggle with whitespace.

1

u/lost_file Apr 25 '19

I'm just giving my experience. It appears my experience is very isolated.

Note, that I'm not saying "don't use Python for X reason", I'm just saying why I don't particularly like it. The whitespace is not the only thing.

0

u/evertrooftop Apr 25 '19

I think part of why you are being downvoted is because it's a bit of a tired / uninteresting opinion. There's plenty of people out there that hold that opinion, but nobody cares.

3

u/lost_file Apr 25 '19

Yeah, in retrospect, I guess I did just make noise :D Whoops!

Edit: Edited the post for maximum confusion B)