Python does it right.  C is allowed to do it anyway it likes, which was
a stupifyingly horrible decision, IMHO.

Way back when, there was a language named Pascal.  I lobbied the Pascal
standards committee to define the modulus operator correctly, which they
eventually did.  To my astonishment, they proceded to define the
division operator backwards to the modulus operator, so that division
and mod did not play together correctly.  Duh.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to