[python-advocacy] How programming language webpages should be designed
Roy Smith
roy at panix.com
Thu Nov 12 16:09:57 CET 2009
> # Create and add to a list
> python = []
> python.append("Easy to read")
> python.append("Fast to code")
> python.append("Quick to learn")
> python.append("Modular and object oriented")
> python.append("Open source and cross platform")
I'm not sure what this is intended to demonstrate, but it's certainly
not a good example of idiomatic python code. The ratio of real data
to cruft is about 1:1
python = {"Easy to read",
"Fast to code",
etc
"Open source and cross platform"]
is certainly the way anybody would write that.
----------------
Roy Smith
roy at panix.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/advocacy/attachments/20091112/4187b0c2/attachment.htm>
More information about the Advocacy
mailing list