Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.news-service.com!feeder.news-service.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Gregory Ewing Newsgroups: comp.lang.python Subject: Re: learnpython.org - an online interactive Python tutorial Date: Tue, 26 Apr 2011 13:06:59 +1200 Lines: 13 Message-ID: <91mk5mF2krU1@mid.individual.net> References: <506eb5e4-4f29-473a-8d47-2082322e005e@glegroupsg2000goo.googlegroups.com> <201104211710.19587.akabaila@pcug.org.au> <4db3720a$0$29978$c3e8da3$5496439d@news.astraweb.com> <4db3eaf3$0$29978$c3e8da3$5496439d@news.astraweb.com> <2p8tp.38451$sS4.1138@newsfe11.iad> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net T/pSaG4ipbf9EFdVcNIFmwLjwDNGuDG7RvBrETelr461G4BHyG Cancel-Lock: sha1:2jWW509c2Aw/eFkLnYvpIFNXcAU= User-Agent: Mozilla Thunderbird 1.0.5 (Macintosh/20050711) X-Accept-Language: en-us, en In-Reply-To: <2p8tp.38451$sS4.1138@newsfe11.iad> Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4011 harrismh777 wrote: > maybe the way > to be really consistent (especially with the Zen of Python, explicit is > better than implicit) that int --> float --> complex (imaginary) should > not occur either ! Applying parts of the Zen selectively can be dangerous. Practicality also beats purity. I've used a language where there was no automatic promotion from ints to floats, and it was a pain in the backside. -- Greg