Re: [code-review] Re: Lingua::Phonology
Simon Cozens <simon-eH/[email protected]> Thu, 13 Nov 2003 17:07:13 +0000
| Newsgroups | gmane.comp.lang.perl.code-review-ladder |
|---|---|
| Message-ID | <[email protected]> |
Mark Dominus:
> $self->{SYMBOLS} = new Lingua::Phonology::Symbols $self->{FEATURES};
> it might be interpreted as
> $self->{SYMBOLS} = Lingua::Phonology::Symbols->new($self->{FEATURES});
> which is usually what you intended, but it might also be interpreted as
> $self->{SYMBOLS} = new(Lingua::Phonology::Symbols($self->{FEATURES}));
For a more annoying example, see
http://blog.simon-cozens.org/bryar.cgi/id_6416
which caught me out in one of my modules.
The indirect object syntax was a horrific mistake.
--
You advocate a lot of egg sucking but you're not very forthcoming with the
eggs. - Phil Winterbottom (to ken)