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

Re: what is the problem?



Scott McKay wrote:
> 
>...
> 
> I think you have a misimpression that Lispers always use recursion
> and functional styles.  I think there is a natural fit to using a more
> functional style in Lisp because all "forms" return values (that is, there
> is no distinction between a statement and an expression).  So a lot
> of Lisp programmers use a more functional style because it is natural,
> and indeed clearer and more concise, to use a functional style.

I think we're in violent agreement. Functional/recursive programming is
very natural in Lisp and less so in Python. I didn't say that people
always do functional or recursive programming in Lisp, just that it is a
somewhat dominant style. Much less so in Python, which makes a strong
distinction (stronger even than C) between statement and expression.

 Paul Prescod