Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^2: Perl mnemonics

by TGI (Parson)
on Oct 07, 2008 at 22:42 UTC ( #715867=note: print w/replies, xml ) Need Help??

in reply to Re: Perl mnemonics
in thread Perl mnemonics

If I did Gtk2 programming, I'd probably call that order "WE FliP".

The pain of having to remember these orders is why any code I write that requires more than three arguments, gets modified to use named parameters. The downside is that you have to remember (and spell correctly) the parameter names, but that's what perldoc's for.

TGI says moo

Replies are listed 'Best First'.
Re^3: Perl mnemonics
by BrowserUk (Patriarch) on Oct 07, 2008 at 22:59 UTC

      When I write the code I may have to look everything up in either case.

      When I read the code, I understand named parameters without needing the docs.

      I consider that a big improvement. YMMV. Each approach can bring its own subtle bugs.

      TGI says moo

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2022-01-24 04:18 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (64 votes). Check out past polls.