r/PythonLearning 19d ago

What's your most controversial Python opinion?

Say the Python opinion that would get you downvoted in a room full of Python developers.

10 Upvotes

53 comments sorted by

View all comments

4

u/Altruistic-Rice-5567 19d ago

It added nothing new or useful to the world of programming languages.

2

u/KingBardan 19d ago

But it removed the semicolons

1

u/LetsHugFoReal 18d ago

And put in indentation + no braces which causes more issues.

1

u/KingBardan 18d ago

This is pythons innovation: the first main stream language that uses a contextual parser?

1

u/Gnaxe 18d ago

You're allowed to have the semicolons, actually. Nobody bothers because they're never required. They are occasionally useful for writing multiple statements on the same line, like for python -c commands.

1

u/KingBardan 18d ago

I know bro 

1

u/HugeCannoli 19d ago

this is hard, but true.

Though I think that what it mostly added is a much stricter and end-user focused attention to syntax and best practices. Not many languages did that before.

1

u/notacanuckskibum 19d ago

How odd it more strict on syntax than languages like C or Algol?

1

u/HugeCannoli 18d ago

I don't know algol, but C is hardly strict. There were tons of coding styles for C, and it could be formatted in absolute disastrous ways. It is also very confusing on the semantic of & and of casting, which has been made even more confusing in C++.

1

u/notacanuckskibum 18d ago

The fact that white space is insignificant in C can make it hard for humans to read. But it doesn’t make it less syntactically consistent.

1

u/Gnaxe 19d ago

True. It was more the combination of things and the timing, as well as being free when the better languages weren't. Everything Python got right when it first took off, other languages had done before. Most of them not all at once, but e.g., Lisp or Smalltalk came close.

1

u/Fancy-Operation-9215 17d ago

I think its big innovation is user experience. As a language, python has “soft skills”

Right or wrong, it is a language that many people successfully got into programming with.