On Sat, Dec 19, 2009 at 02:51:32PM -0500, Nick Guenther wrote:
Oh my.
A language of ideas should mean that ideas are concisely expressible in
code, and that reading the code should convey the meaning. So you see an
idea on the web somewhere and paste the idea into your code and it's
broken? Idea fail!
I like Python, but this "language of ideas" bit is silly.
Python is regularly used by myself and others for scripting and it
comes out just fine. Sometimes I work at a higher level and other times
not, as the situation calls for. Doing things The UNIX Way(tm) means
some programs are simple filters that do not benefit from large numbers
of abstraction layers. Far from forcing me, Python allows me to write in
a way appropriate to the task at hand.
Oh my.
Python didn't invent abstraction. There's a lot of abstraction in the
tree, you know, in plain old C. Some kinds of abstraction are easier in
some languages, but there are often trade-offs. How many times per
second does an ethernet driver get called when there's a lot of traffic?
Really, Python doesn't paste well from the web and this can be a problem
for newbies. This isn't about Python being a language of ideas, it's
about Python choosing indent as meaningful and how sucky copying from a
web page is in practice. Meaningful indent works really, REALLY well
when writing python or reading python, but it sucks bad in this one
instance. Not because Python sucks, but because embedding code in forum
posts sucks. Tough cookies for python, because that's the shape of the
world right now.
--
Darrin Chandler | Phoenix BSD User Group | MetaBUG
dwchandler@stilyagin.com | http://phxbug.org/ | http://metabug.org/http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation