[Prev][Next][Index][Thread]

Re: C# is not Dylan (was: Re: C# : The new language from M$)



"Janos Blazi" <jblazi@vipsurf.de> writes:

> Johan Kullstam <kullstam@ne.mediaone.net> schrieb in im Newsbeitrag:
> 
> > [...]
> > lisp only looks longwinded and confusing on the surface.
> >
> 
> Well, wjen I started learning Lisp last year I thought than the parentheses
> will become a nightmare but now I see that this is not the case. But there
> is one example when I still think that infix syntax would be preferable: In
> long mathematical formulae:
> 
> (/ (+ (- b) (sqrt ( - (* b b) (* 4 (* a c))))) (* 2 a))
> 
> ot something like that (I have not checked if the formula is correct) still
> looks messy and I wonder if practicing would help. I can see immediately if
> the infix form is correct, though.

	It helps if you break this up over several lines and indent it
properly:

(/ (+ (- b)
      (sqrt ( - (* b b)
		(* 4 (* a c)))))
   (* 2 a))


-- 
Raymond Wiker



References: