Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Finally? :)

    What have you against the say function?

    cheers and happy new year.
    • Because it sacrifices meaning and intuitiveness for a relatively small huffman advantage, mainly relevant only to people writing lots of console apps that print to stdout.

      • Illegal procedure, user number #5735, use of the word "intuitive" to describe programming languages. 15 yard penalty. Repeat the down.

        • I see your jingoism and demand an appeal to the third umpire.

          Wikipedia: Intuition (knowledge) - understanding without apparent effort

          "Intuitive" is a perfectly proper concept to use, with the understanding that all intuitiveness is relative. A programming language is no more special than any other tool in this regards.

          The concept of universal intuitiveness is of course wrong when applied to programming languages.

          But people likely to encounter "say" come from 4 states across 2 dimensions.

          1. People that know
          • allright i see the problem that people read the word say and do not really know what it does exactly, even if i believe i don't get your point fully. i think at least it's a lot better then ruby puts :).

            And to be honest, to me it makes intuitively perfectly sense. because printing do machines. they do it correctly, like told without adding something. but people say things with pauses sound in the voice so you can here where is a period or end of a thought. like the bubbles in comics. and tha first thing that comes to my mind to illustrate that conveniently into STDOUT is "\n".

            allright syntax is debatable but semantics of this is really good since it removes a lot of quoting.