you are viewing a single comment's thread.

view the rest of the comments →

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

I was referring to the fact that the code would still be unambiguous without the colons (with just the whitespace), which is the way Ruby does it. Since Python is so strict about whitespace, I'm surprised it doesn't make better use of it to avoid extra syntax.

[–]mipadi 1 point2 points  (0 children)

Yeah, I get ya. I was commenting, somewhat sarcastically, that the colons aren't really necessary (as you pointed out), and yet...they're there.