http://qs321.pair.com?node_id=715867


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