Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Re: Wanted: Perl 6 Programmers

by Anonymous Monk
on Sep 05, 2002 at 19:25 UTC ( [id://195482]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-03-28 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found