.... on common-lisp.net. Check out http://common-lisp.net/project/new-op
for another foray in pointless (but fun) CL programming.
Now you can write
cl-prompt> (new 'some-class)
#<STANDARD-CLASS SOME-CLASS 4242>
instead of wasting typing energy on MAKE-INSTANCE. (There are a few
more bells and whistles of course :) ).
Cheers
--
Marco
|
|
0
|
|
|
|
Reply
|
marcoxa1 (977)
|
1/7/2011 4:00:14 PM |
|
On 01/07/2011 11:00 AM, Marco Antoniotti wrote:
> ... on common-lisp.net. Check out http://common-lisp.net/project/new-op
> for another foray in pointless (but fun) CL programming.
Marco, CL programming is never pointless. CL programming is its own
reward :)
> Now you can write
>
> cl-prompt> (new 'some-class)
> #<STANDARD-CLASS SOME-CLASS 4242>
>
> instead of wasting typing energy on MAKE-INSTANCE. (There are a few
> more bells and whistles of course :) ).
Nice :)
Alberto
|
|
0
|
|
|
|
Reply
|
ariva (71)
|
1/8/2011 5:26:27 PM
|
|
I like. I was a little leery until I found out it works just fine with INITARGS. You may want to mention that in the docs.
The three mailing lists are each missing a syllable, '-op', in your docs (e.g. new*-op*-announce).
It's more concise and easier to read. Makes cl feel a little more modern.
|
|
0
|
|
|
|
Reply
|
lou.vanek (22)
|
1/8/2011 8:04:48 PM
|
|
On Jan 8, 12:26=A0pm, Alberto Riva <ar...@nospam.ufl.edu> wrote:
> On 01/07/2011 11:00 AM, Marco Antoniotti wrote:
>
> > ... on common-lisp.net. =A0Check outhttp://common-lisp.net/project/new-=
op
> > for another foray in pointless (but fun) CL programming.
>
> Marco, CL programming is never pointless. CL programming is its own
> reward :)
Ok. This now goes in the book! Perl was designed to improve a
programmer's self-esteem. CL was therefore designed to allow
programmers to reward themselves. :)
(I am stopping here). :)
Cheers
--
Marco
|
|
0
|
|
|
|
Reply
|
marcoxa1 (977)
|
1/9/2011 2:09:48 AM
|
|