Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Ted Leung on the air: Open Source, Java, Python, and ...
Fri, 04 Jul 2003
Posted by Pingback from Ted Leung on the air : computers/internet/weblogs/335 : A distributed, human-edited blogsearch at Tue Jul 8 02:53:17 2003
Curly braces are the blue pill
[23:04] |
[computers/programming] |
# |
TB |
F |
G |
1 Comments |
-
Gordon posted commentary on a post by Patrick Logan. All of the posts are about how nice it is to write XML-RPC programs in Python. Patrick says
I have taken a liking to Python over the last several months. I used to be more of a snob. Python seemed to be a grab bag of reasonable ideas that were better expressed elsewhere. The thing about Python though is it seems to work well in practice.
I have much the same feeling. The one thing that I wish was different was performance. I know that Python is supposed to be for gluing C apps together, but I just did a little hacking on Kai Hendry's LuPy version of my Lucene plugin for pyblosxom, and it wasn't pretty. I wasn't sure that LuPy was reading the Lucene index files right, so I decided to reindex using a LuPy based indexer. Talk about slow. Gordon is tantalized by the prospect of some way cool lispy way of doing this. I think that all the components are there for that. And you'd get decent perf to boot by compiling lisp to native code. -
Larry O'Brien responded indirectly to Angelika Langer's post on "curly brace" programming languages -- I love this term. I hope it becomes an adjective -- "oh, that's so curly brace". In any case O'Brien's post is wonderful. I'm going to quote from it, but GO READ IT.
Here's a series of thought provoking zingers from his post
Give a 500MHz P3 to one professional graphics designer and a 3GHz P4 to another and compare their productivity: you will see a productivity difference, because this is a task / profession which has managed to leverage the computer itself. Give the same disparate hardware to two comparably talented programmers and what productivity difference will you see? None, or so little difference as to be immeasurable. Similarly, give two designers the current feature set of a preferred professional tool (let's say, Photoshop) and the feature set of that tool 5 years ago, and you'll see a difference. In programming? Doubtful (with the notable exception of a refactoring IDE such as IDEA).
Pattern matching is absolutely fundamental to human problem-solving, but where's the computer-support for pattern matching in the task of software development? That is, why can't a programming language leverage the fact that the vast majority of computer programs are built from examples?
What's wrong with today's languages? Everything.
-
The last of today's Blue Pill entries is Dave Thomas' kata on the tradeoffs between hashes and classes. I'll just leave you with the end, so you can go do the kata yourself.
This kata is a thought experiment. What are the top three advantages and top three disadvantages of the two approaches? If you're been using classes to hold data in your business applications, what would the impact be if you were to switch to hashes, and vice versa? Is this issue related to the static/dynamic typing debate?
Posted by Pingback from Ted Leung on the air : computers/internet/weblogs/335 : A distributed, human-edited blogsearch at Tue Jul 8 02:53:17 2003
You can subscribe to an RSS feed of the comments for this blog:
Add a comment here:
You can use some HTML tags in the comment text:
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
<a href>
, <em>
, <i>
, <b>
, <blockquote>
, <br/>
, <p>
, <code>
, <pre>
, <cite>
, <sub>
and <sup>
.You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk