This thread seems related to the other thread I just answered I don't find, I wrote "julia" there, hmmm
Le mar. 18 mai 2021 à 12:41, Stephen J. Turnbull < turnbull.stephen...@u.tsukuba.ac.jp> a écrit : > David Mertz writes: > > On Fri, May 14, 2021, 4:31 PM Jonathan Fine <jfine2...@gmail.com> > wrote: > > > > > >>> 1/2 + 1/3 > > >> 5/6 > > >> >>>> 1 / 2 + 1 / 3 > > >> 0.833333 > > >> > > > > > > I'm sighted. I can see the difference. I suspect a blind person using > a > > > screen reader would struggle a lot to spot the difference. > > This is a really good point. I think a screen reader that reads out > whitespace would be really annoying if it were more frequent than, > say, paragraph breaks. > > > However, the existing `/` was given a backwards incompatible meaning of > > "true division" and the new `//` operator took on floor division. I > still > > believe that was the wrong way around. I thought the existing operator > > should keep the same meaning, > > That *would* have been true if str = Unicode didn't break the world. > But by freshman year in college students expect real division (either > with a fractional result or a float result). I think it was better to > cater to that prejudice. (At least that's true here in Japan, where > few students do programming before they get here, and was true in > Columbus Ohio a couple decades ago. These are schools where most > students come from pretty good high schools and the students have > access to computers to learn programming if they wanted to.) > > > _______________________________________________ > Python-ideas mailing list -- python-ideas@python.org > To unsubscribe send an email to python-ideas-le...@python.org > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/python-ideas@python.org/message/TCG5DKNAB3BAJG563IIG6FR5DBZ5ABQL/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/YD7WID5ZTDZIP42ADUVME26XYX5JLHZ6/ Code of Conduct: http://python.org/psf/codeofconduct/