in reply to Perl 6 wish list: pack/unpack meta-feature
Larry mentioned that overloading was a headache; you hate it in languages that have it, and you hate it when languages don't have it. Sometimes there are gratuitous abuses of overloading, such as C++'s left-shift operator to add more arguments to a function. The overloading system will be a lot cleaner, by specifying operators as special method names. The vtable system will be leveraged to provide overloading on objects. There will also be overloading hooks in printf so that new formats can be defined.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl 6 wish list: pack/unpack meta-feature (boo)
by John M. Dlugosz (Monsignor) on Jul 26, 2001 at 19:08 UTC |