develooper Front page | perl.perl6.language | Postings from April 2001

Re: Strings vs Numbers (Re: Tying & Overloading)

From:
John Porter
Date:
April 23, 2001 14:03
Subject:
Re: Strings vs Numbers (Re: Tying & Overloading)
Message ID:
20010423170340.E15505@min.net
Nathan Wiger wrote:
> I *really* don't want this to turn into a religious argument, 

Neither do I.


> coming from a sh/C background. 

I understand.  I think I was able to learn Perl as quickly
as I did because of certain syntactic similarities.
But it's not why I program in Perl now, and it's certainly
now why I *like* to program in Perl now.


> ...closer to other languages with -> vs ., then adding "~" works against
> that goal. This is made worse by the fact that *everyone* - Perl hackers
> and Java programmers alike - will perceive this as different from all
> other languages. It runs directly counter to the original goal: Making
> Perl syntax more consistent with other languages.

The more I read about this issue, the more I think the string 
concat operator ought to /[a-z]+/, like the other string ops.


-- 
John Porter




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About