Tim Peters <tim_one@email.msn.com>: > Looks natural for Python! I'm not sure what "/" should *do* in the Brave > New World, though. Floating-point has been the conventional answer so far, > but I'd like to take another look at what Scheme does (not sure what the std > sez, but every Scheme I've ever used treated integer division as returning a > rational). The *prime* motivation here seems to be that "7/3" not lose > catastrophic amounts of information silently; other clear choices are "lose > none" (rationals) and "maybe lose a little in a way that's very hard to > explain" (floating point). I agree with you in preferring the "let's do rationals" answer. Seems to me I recall one of the other points in the Alice presentation was that non-techies find floating point obscure and think of simple fractions as atoms. -- <a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a> The saddest life is that of a political aspirant under democracy. His failure is ignominious and his success is disgraceful. -- H.L. Mencken
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