Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Re: C# reinvents @_

by hding (Chaplain)
on Sep 19, 2001 at 19:57 UTC ( [id://113380]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: C# reinvents @_
in thread C# reinvents @_

I agree, it's the kind of thing that screams out "Lisp!", but I just couldn't think of how to do it. Guess we'll have to leave it to the Lisp historians.

Update: Just in case anybody actually reads this and I'm not being clear, one can simulate the Perlish behavior simply by having a function like (defun fred (&rest args) (do-stuff-with args)). In fact, by treating args as a plist, one can simulate the Perl trick of passing a hash. What I can't see is how to get all the arguments as a list while still using Lisp's other facilities for handling them.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://113380]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2025-07-17 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.