Super-dee-duper D features

Bill Baxter dnewsgroup at billbaxter.com
Tue Feb 13 20:01:41 PST 2007


Kevin Bealer wrote:

> Someone I know at work told me today that the LISP notation is very much 
> like mathematical formulas.  I couldn't help remembering math classes in 
> college, when (at the time) I was always thinking, 'why can't they break 
> this up into simple steps like a computer program would?'  (Of course, I 
> learned a lot about programming before I took algebra, so maybe that's 
> part of the problem.)

I'm not sure what you mean.  Mathematicians (and lisp coders) are champs 
of breaking things into simple steps.  My problem is usually that there 
are *too* many simple steps so that the equation that ties it all 
together is a very uninformative   x = f(y)~G,  where f, y, G and the 
operator ~ are all things whose definitions are scattered over the 
previous 50 pages.

With Lisp coders it's because it's so easy to pull out any (...) 
expression at any level and turn it into a new function when the current 
function starts to get too nested.

--bb



More information about the Digitalmars-d mailing list