in reply to Re: Poll: How should the =( )= be called???
in thread Poll: How should the =( )= be called???

> It shuold be called the Stupid Line-Noise Trick That Shouldn't Be Used In Production Code.

I'm curious, what exactly is your "Best Practice" alternative for production code?

Cheers Rolf

  • Comment on Re^2: Poll: How should the =( )= be called???

Replies are listed 'Best First'.
Re^3: Poll: How should the =( )= be called???
by JavaFan (Canon) on Jan 15, 2010 at 11:29 UTC
    If I need it in code, I would spell it
    = () =

      "If I need it in code, I would spell it"

      And how will you pronounce it?

        > > "If I need it in code, I would spell it"

        > And how will you pronounce it?

        Nippl-e !

        Why would I pronounce it? It's not even a real operator, and hence I wouldn't write it as such in serious code.
        $count = () = /foo/g;
        is just "assign the number of occurrences of foo to count". Or would you say:
        scalar-sigil identifier-count scalar-assign empty-list list-assign match-open regexp-literal-foo match-close modifier-g semi-colon
        possibly replacing scalar-assign empty-list list-assign with goatse or another name?