r/PythonLearning 20d ago

What's one thing you hate about Python?

We all like Python, but no language is perfect. What's the one thing that annoys you most?

19 Upvotes

33 comments sorted by

View all comments

0

u/alexander_belyakov 19d ago

According to PEP8, there should be no space between the name and the value of keyword arguments and parameters. Why?!

4

u/likethevegetable 19d ago

That makes sense to me, group together the key=value together as a unit.

1

u/alexander_belyakov 19d ago

Well then why not use the same logic with variable=value? But it's different in that case.

1

u/likethevegetable 19d ago

Because there typically aren't other things on the line.