declaration of variables?
André Jonsson
tatsujin at spamgoeshere.despammed.om
Mon Feb 17 02:43:31 EST 2003
More information about the Python-list mailing list
Mon Feb 17 02:43:31 EST 2003
- Previous message (by thread): declaration of variables?
- Next message (by thread): declaration of variables?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Carl Banks wrote: > Andr? Jonsson wrote: > >>Alex Martelli wrote: >> >>>>:-) I mostly meant that Python seems more "aware" than most other >>>>:languages of >>>>usability and readability. Do those not count? >>> >>>Of course; they're the main reasons Python avoids declarations. >> >>Dare I quote the Python Zen? "Explicit is better than implicit". I >>concurr, declaring a variable explicitly is better than just >>implicitly using, seemingly arbitrary, ones. > > Sure, if you're prepared to have a sentence fragment from Python Zen > thrown back at you. > > "Although practicality beats purity." > > Obviously, the practicality of not having to type a zillion > declarations was judged to be more important than the explicitness of > having them. Yes, I guess it's a matter of taste. And in this kind of dynamic language it makes kinda sense, I agree. /André
- Previous message (by thread): declaration of variables?
- Next message (by thread): declaration of variables?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list