semi colonic

avi.e.gross at gmail.com avi.e.gross at gmail.com
Thu Feb 23 10:15:49 EST 2023


Greg,

How did you know that was the method I used to indicate I had properly
debugged and tested a line of code?

a = 5; pass
b = 7; pass
c = a * b; pass

Then I switched to using comments:

a = 5 #  pass
b = 7 # pass
c = a * b # fail

And would you believe it still worked!

OK, I am just kidding if anyone is taking this seriously.


-----Original Message-----
From: Python-list <python-list-bounces+avi.e.gross=gmail.com at python.org> On
Behalf Of Greg Ewing via Python-list
Sent: Thursday, February 23, 2023 1:28 AM
To: python-list at python.org
Subject: Re: semi colonic

On 23/02/23 1:58 pm, avi.e.gross at gmail.com wrote:

> Would anything serious break if it was deprecated for use as a 
> statement terminator?

Well, it would break all the code of people who like to write code that way.
They might get a bit miffed if we decide that their code is not serious. :-)

On the other hand, if they really want to, they will still be able to abuse
semicolons by doing this sort of thing:

a = 5; pass
b = 7; pass
c = a * b; pass

Then everyone will know it's some really serious code!

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list