News for hackers. Stuff that matters.
Re:Lisphp is a Lisp dialect written in PHP. by jules on Monday July 05, 2010 @02:28PM (#1488765)
If your reading material Lisp doesn't have some form of defstruct then it certainly is dated, or they are avoiding it on purpose. Every non-toy Lisp has it.
Re:Lisphp is a Lisp dialect written in PHP. by jacquesm on Monday July 05, 2010 @02:42PM (#1488800)
Ok, thanks. That helps. I started 'from the ground up', I figured that the best way to study a language is by looking at the way it was in the beginning since that's the most pure form of it. If 'lists' are as great as they are said to be you'd expect that things like structs and classes are optimizations, not essentials.
Re:Lisphp is a Lisp dialect written in PHP. by eru on Monday July 05, 2010 @04:46PM (#1489058)
Don't do that for Lisp. You will be stuck with the dynamic scoping that Lisp used to be plagued with in the beginning.

Go far a modern Lisp like Scheme. (You can ignore the syntax you don't want to deal with, yet.)

Re:Lisphp is a Lisp dialect written in PHP. by jules on Monday July 05, 2010 @04:27PM (#1489024)
Yeah, you can view it as an optimization: you can build defstruct & co on top of lists with macros. However, using ca(d)*r by hand is not advisable in any case...

Usually it goes the other way around: you implement lists on top of defstruct.

Re:Lisphp is a Lisp dialect written in PHP. by mahmud on Monday July 05, 2010 @03:44PM (#1488930)
Restricting yourself to Pure Lisp is like insisting on only dating virgins.
Re:Lisphp is a Lisp dialect written in PHP. by jacquesm on Monday July 05, 2010 @03:48PM (#1488939)
I have a very snappy comeback to that one but I highly doubt it will pass the censor ;)
Re:Lisphp is a Lisp dialect written in PHP. by eru on Tuesday July 06, 2010 @09:22AM (#1490867)
How about: "If she wasn't good enough for the other people, she won't be good enough for me."