Break and Continue: While Loops

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Sun Jun 26 03:32:15 EDT 2016


On Thursday, June 23, 2016 at 11:58:01 PM UTC+12, Jon Ribbens wrote:
> I seem to recall that Java originally insisted that only booleans
> (excluding even Booleans, which are a different thing because of
> course they are) could be checked for truth and it was one of
> Java's significant warts.

Java’s wart was it didn’t implement Booleans the way they were done in Pascal. That wouldn’t have been a wart.

Python’s Boolean handling is a wart in the other direction.


More information about the Python-list mailing list