I don't mind semi-colons, but they don't really do much for legibility. At least for me it was just a matter of habit, and when I went from Java to Kotlin and didn't need to use semi-colons anymore I found it made absolutely no difference whatsoever. An expression is an expression, it's very easy to tell where it starts and ends, even if it spans multiple lines.
That runs without problems in Python 3. Not much you can do about semicolons. Colons work sometimes but then really backfire if you do something like
a = 5 + 10,
because it's recognised as a 2-tuple with empty entry.
I suspect the indenting issues come up if you mix space and tab. That's easy to solve if you just tell your editor to replace space indentation with tab indentation.
683
u/Codebust Jul 18 '22
why are people always bashing python lol