[Edu-sig] RE: PEP0238 lament

Bjorn Pettersen BPettersen@NAREX.com
Mon, 23 Jul 2001 17:30:04 -0600


> From: Paul Prescod [mailto:paulp@ActiveState.com]
>=20
> This issue is constantly presented as some sort of dichotomy between
> "regular" programmers" and newbies. But really it is more of a=20
> dichotomy between those originally trained on typed languages and=20
> those on dynamically typed languages.
>=20
> The other languages in the Python category (Perl, Ruby,=20
> JavaScript, ...)
> all make a different choice for division and the choice is
> uncontroversial. Python is the only one of the languages that has a
> constant battle on the issue.

Ruby seems to be quite in line with (current) Python:

irb(main):001:0> puts 1/2
0
nil
irb(main):002:0> puts 1.0/2
0.5
nil
irb(main):003:0>

-- bjorn