News for hackers. Stuff that matters.
Re:C, The Beautiful Language by eru on Tuesday March 15, 2011 @12:17PM (#2328138)
In Scheme try and compare

   (car (list 1 2 3 4))
with

   (car (lambda (x) x))
But I guess we are talking about different levels of abstraction?
Re:C, The Beautiful Language by amttc on Tuesday March 15, 2011 @03:29PM (#2328987)
Not that this has too much to do with what you two were talking about, but (car '(lambda (x) x)) will return lambda in Scheme.
Re:C, The Beautiful Language by eru on Tuesday March 15, 2011 @08:26PM (#2330123)
You are right.

Actually I was almost going to add (car '(lambda (x) x)) to my post in the first place; in line with `The syntax for functions is lists.'

Re:C, The Beautiful Language by dexen on Tuesday March 15, 2011 @02:46PM (#2328829)
Indeed, you are right about Scheme (and Arc). Thanks for the correction.
Re:C, The Beautiful Language by eru on Tuesday March 15, 2011 @08:39PM (#2330157)
Sure, no problem. I guess Emacs Lisp falls under the old-and-broken category. And Picolisp eschews functions as a data-type by choice. Do you know whether Picolisp offers lexical scoping?
Re:C, The Beautiful Language by dexen on Wednesday March 16, 2011 @03:41AM (#2331208)
As the other response says. The FAQ provides some rationale & makes it clear you can, actually, build robust software with picolisp's model of scoping. My understanding is, ``dynamic scoping is faster for an interpreter'' and ``funarg is easy to avoid and closures are possible''.

See the three following points:

http://www.software-lab.de/doc/faq.html#dynamic

http://www.software-lab.de/doc/faq.html#problems

http://www.software-lab.de/doc/faq.html#closures

Re:C, The Beautiful Language by akkartik on Tuesday March 15, 2011 @08:46PM (#2330175)
It offers something similar-but-not-quite called transient symbols: http://www.software-lab.de/doc/faq.html#problems

Alternative phrases for similar-but-not-quite: insidious, error-prone.