A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-November/010461.html below:

[Python-Dev] Integer division transition

[Python-Dev] Integer division transition [Python-Dev] Integer division transitionGordon McMillan gmcm@hypernet.com
Mon, 6 Nov 2000 12:27:22 -0500
[Peter Funk]
> > Using a new keyword like 'div' in the tradition of languages like 
> > Modula-2 looks far more attractive to me.
[Guido]:
> That's a possibility too.  It's a new keyword though, which has a much
> higher threshold for acceptance than a new two-character operator
> symbol.  We could spell it as a built-in function: div(a, b),
> (analogous to divmod(a, b)) but that's not very user-friendly either.
> 
> Keep looking...

FWIW, I remember as a newbie being sure that integer 
division was spelled "a div b". In fact when it didn't work, I went 
digging through PP, IPWP and the docs in dumbfounded 
disbelief.

this-is-your-brain-on-Modula-2-ly y'rs

- Gordon



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4