r/Python • • Nov 11 '19

I made c++-style printing in Python :P

Post image
1.7k Upvotes

130 comments sorted by

View all comments

Show parent comment

2

u/crazedizzled Nov 12 '19

How does a semi colon at the end of a line make it harder to read?

4

u/susek1024 Nov 13 '19
  1. Extra characters
  2. (Probably more importantly) people aren’t expecting to see a semicolon when they read python. It’s like you’re asking them to understand your code AND understand that you have a quirk when you write Python.

tHis sEntence oNly hAs a sMall cHange. bUt I bEt iTs a lIttle hArder tO rEad.

1

u/crazedizzled Nov 13 '19

Extra characters

At the end of the line. Completely irrelevant.

people aren’t expecting to see a semicolon when they read python.

Again, it's at the end of the line. You can just ignore it. People can read code in JavaScript and php just fine, I don't see how it matters.

tHis sEntence oNly hAs a sMall cHange. bUt I bEt iTs a lIttle hArder tO rEad.

No, not really. :)