Re: Python syntax in Lisp and Scheme
From: Gerrit Holl (gerrit_at_nl.linux.org)
Date: 10/06/03
- Next message: JZ: "Re: Webware vs. PHP - performance comparision!!!"
- Previous message: Nigel: "Animation output library"
- Maybe in reply to: Christoph: "Re: Python syntax in Lisp and Scheme"
- Next in thread: Andrew Dalke: "Re: Python syntax in Lisp and Scheme"
- Reply: Andrew Dalke: "Re: Python syntax in Lisp and Scheme"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 6 Oct 2003 12:05:04 +0200
Jason Creighton wrote:
> I agree with most of the rest of "The Zen of Python", except for the
> "There should be one-- and preferably only one --obvious way to do it."
> bit. I think it should be "There should be one, and preferably only one
> , *easy* (And it should be obvious, if we can manage it) way to do it."
Of course, this rule is not to be taken literally.
a = 2
a = 1 + 1
a = math.sqrt(4)
a = int((sys.maxint+1) ** (1/31))
...all mean the same thing.
Gerrit.
--
243. As rent of herd cattle he shall pay three gur of corn to the
owner.
-- 1780 BC, Hammurabi, Code of Law
--
Asperger Syndroom - een persoonlijke benadering:
http://people.nl.linux.org/~gerrit/
Kom in verzet tegen dit kabinet:
http://www.sp.nl/
- Next message: JZ: "Re: Webware vs. PHP - performance comparision!!!"
- Previous message: Nigel: "Animation output library"
- Maybe in reply to: Christoph: "Re: Python syntax in Lisp and Scheme"
- Next in thread: Andrew Dalke: "Re: Python syntax in Lisp and Scheme"
- Reply: Andrew Dalke: "Re: Python syntax in Lisp and Scheme"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]