develooper Front page | perl.perl6.language.io | Postings from August 2000

Re: RFC 39 (v2) Perl should have a print operator

Thread Previous | Thread Next
From:
Nathan Torkington
Date:
August 18, 2000 16:07
Subject:
Re: RFC 39 (v2) Perl should have a print operator
Message ID:
14749.49302.85216.496422@prometheus.frii.com
Jon Ericson writes:
> First repeat 10 times - "It's not a replacement, it's a shortcut." 

Gotta say that I think it's
 (a) a nasty punctuation mess (don't we have *enough* of those already?)
 (b) unnecessary (I don't get grumpy at typing `print')
 (c) opening up more problems than it's solving

Given interpolation, here docs, print LIST, and (s)printf, I think
we have output really well covered.  We don't need to save two or
three keystrokes, when we already save pages of keystrokes over other
languages with their:

  stdout.print("this is the first part, "
       .concat variable.value
       .concat "."
       .concat String.newline);

verbosities.  I see >< losing readability and not winning us anything.

Nat

Thread Previous | Thread Next


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