F
fishfry
Is the named parameter style of calling methods the officially right way
to do it these days? Or is there some debate? I'm talking about
my $foo = new Foo(FISH => 'tuna', DRESSING => 'mayo');
as opposed to Foo('tuna', 'mayo');
In other words if you do it the old (positional) way, is that considered
either hopelessly old-fashioned and/or bad coding practice?
to do it these days? Or is there some debate? I'm talking about
my $foo = new Foo(FISH => 'tuna', DRESSING => 'mayo');
as opposed to Foo('tuna', 'mayo');
In other words if you do it the old (positional) way, is that considered
either hopelessly old-fashioned and/or bad coding practice?