Re: Reddit: Let's rewrite a better one in Common Lisp.



Wade Humeniuk <whumeniu+anti+spam@xxxxxxxxx> writes:

> Marc Battyani wrote:
>> That would be much more fun than whining. ;-)
>> So let's rewrite a better one. By better one I mean adding new
>> functionalities like categories and/or comments on links for instance.
>> Let's set the rules:
>> Rule 1: Anything is OK as long as it's in Common Lisp.
>> Rule 2: An exception to rule 1 is accepted for stuff like the OS(Linux,
>> MacOS, etc.), Database (PostgreSQL, MySQL), Webservers (Apache), etc.
>> After all there are more than enough Lisp web frameworks around
>> (TBNL, UCW,
>> AServe, CL-HTTP, Araneida, etc. ;-)
>> Here is a starting point:
>> (defclass link ()
>> ((url :accessor url :initform "http://";)
>> (title :accessor title :initform "")
>> (nb-points :accessor nb-points :initform 1)
>> (creation-date :accessor creation-date :initform (get-universal-time))
>> ...
>> ))
>> Any takers ?
>>
>
> I am certainly interested. Though I am working full time, I could
> spare 4 hours/week. I nominate Marc as project lead. Pick a
> platform, Lisp Implementation (my preference is LispWorks), database
> (i assume CL-SQL for the interface).

I'm interested too--though I'd put in a vote to at least try to make
the thing vaguly portable between (some) CL implementations. Which can
be easily achived simply by not picking one--let folks who actually
want to work on it use whatever impl they want and let them worry
about making it work on their imple. (Of course if Marc makes certain
high-level decisions such as requiring threads, then that might leave
out certain impls on certain platforms.) I think this is a good idea
because it will entice more folks to work on it; it will likely
improved the design of the software; and will also help uncover areas
of gratuitious difference between impls, which was (loosely speaking)
one of the problems that the Reddit guys cited as a reason to abandon
Lisp. My $.02.

-Peter


--
Peter Seibel * peter@xxxxxxxxxxxxxxx
Gigamonkeys Consulting * http://www.gigamonkeys.com/
Practical Common Lisp * http://www.gigamonkeys.com/book/
.



Relevant Pages