in reply to Re: Re: Wanted: Perl 6 Programmers
in thread Wanted: Perl 6 Programmers

You're a heretic. :)

Personally, I *HATE* it when + is overloaded as string concatenation. It leads to too many bugs/verbosities where you need to tell the language "no, I wanted addition here", or "no, I wanted concatenation here", especially in a language like perl which is able to DWIM-convert strings to numbers and verse visa.

Replies are listed 'Best First'.
Re: Re: Re: Re: Wanted: Perl 6 Programmers
by John M. Dlugosz (Monsignor) on Sep 05, 2002 at 20:30 UTC
    I agree that overloading + is bad in this particular language, because the values aren't typed.

    But, Perl doesn't need an explicit concatenation operator at all! Just use interpolation, "$head$tail" works perfectly well. For expressions, it's possible in Perl5 and easy in Perl6.

    So, just get rid of the thing (or boycott it).

    (ducking)
    —John