News for hackers. Stuff that matters.
Re:Reasons Python Sucks by turlando on Tuesday December 18, 2018 @03:00PM (#18709989)
>The Python manual says that you can use any number of spaces or tabs for defining the scope.

But it doesn't. In Python only modules, classes and functions make a new scope. A block doesn't. (And that's because it "forces" you to write small self-contained functions.)

It's funny that he also links to a documentation page that clearly doesn't talk about scope at all.

Personal reflection: I rarely rant publicly about something, but when I do I make sure that I'm not saying something stupid that a quick google search can refute.

There are no comments on this comment yet.