=- and -= snag

rbowman bowman at montana.com
Tue Mar 14 21:36:49 EDT 2023


On Tue, 14 Mar 2023 22:15:34 GMT, Gilmeh Serda wrote:

> On Mon, 13 Mar 2023 22:26:20 +0100, Morten W. Petersen wrote:
> 
>> numbers for calculations didn't add up.  It went into negative numbers,
>> when that shouldn't have been possible.
> 
> We have all written code that makes us wonder why the compiler even
> bothered with it and didn't give up on the first line.

gcc does have a flag so it will stop on the first error instead of 
wandering around aimlessly spitting out 100 errors because you missed a 
curly bracket. Sometimes it's useful.



More information about the Python-list mailing list