[antlr-interest] philosophy about translation
Anthony W. Youngman
antlr at thewolery.demon.co.uk
Wed Oct 25 04:57:10 PDT 2006
In message <452D3180.2070907 at jazillian.com>, Andy Tripp
<antlr at jazillian.com> writes
>> "Thinking in trees" does not come automatically. It is like learning
>>LISP or Forth or one of the functional languages (and, for that
>>matter, object-oriented programming: there is a lot of badly designed
>>and implemented C++ code out there). For a time, working with trees
>>is like slogging through molasses, and then you get the "Aha!"
>>experience and things become easy. It usually is not about designing
>>the perfect tree structure; instead, it is about simplifying the
>>recognition problem and expressing target language constructs in tree form.
>
>For the record, I had no trouble "getting" LISP when I learned it 25
>years ago. When I started with C++, I don't think I
>really "got" OOD, and only started writing real OO code when learning
>Java forced me to. I think the fact that LISP never
>became "mainstream" means that it failed to be easy enough to grasp.
>Regardless of how inherently beautiful it is,
>if a lot of programmers don't easily "get it", then it's not that
>great.
The trouble is, the "average" programmer is just that, average.
A great programmer can do the work of ten ordinary programmers. The
trouble is, he probably does it with tools that are beyond the ability
of the ordinary programmer to "get".
As a result, the majority of tools on the market are "average" tools,
aimed at the "average" programmer, and the product suffers accordingly.
Look at the mass of IDEs available now - I *hate* them. I think verbally
and an IDE gets in the way. But the majority of people think visually -
that's why Windows is such a hit. But because they think visually, they
can't think in abstract terms, and they can't do anything beyond basic
problem solving. (As an aside, my University foray into childhood
development said that kids start progressing beyond this stage at about
the age of 14, and that modern thought says that maybe HALF the
population NEVER get beyond it.)
I think it was Celko - wrote an article on databases and Access. He
predicted that, because a certain (rather important) database concept
couldn't be visualised, that it wouldn't be available in Access. Sure
enough, it wasn't (even in the programming language behind it!)
Years ago, IBM did an experiment. They made a bunch of programmers write
a program without access to the computer to test it. It was written on
paper and desk-checked. When it was signed off, typed in and run, the
"quality profiler" run on it equated it with a program that had been in
production for two years with two years of bug-fixes done on it ...
Cheers,
Wol
--
Anthony W. Youngman - anthony at thewolery.demon.co.uk
More information about the antlr-interest
mailing list