[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Python or Perl for a Debian maintainance project?

On Sat, 2004-02-21 at 20:45, Andrew Suffield wrote:
> On Sat, Feb 21, 2004 at 08:35:24PM +1100, Robert Collins wrote:
> > On Sat, 2004-02-21 at 20:31, Andrew Suffield wrote:
> > 
> > > Nor
> > > does it have accessible multi-valued returns - you have to define an
> > > entire class to do it.
> > 
> > huh? pair(x,y); And similar things can be done for larger collections.
> Try it, compared to a list return in perl or similar languages.

That sounds like a use for overloaded operator , & a list<> return type.

Yes - perl does it intrinsically, and probably cleaner. But it's not
true to say that C requires one to define a custom class for doing it,
as the generic handle it quite nicely.

GPG key available at: <http://www.robertcollins.net/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: