[Catalyst] sample code for feedback

Andy Grundman andy at hybridized.org
Thu Jun 23 20:04:28 CEST 2005


Perrin Harkins wrote:
> I don't plan to do a line count because I consider readability more
> important than compactness. 

For the sake of readability, you might consider dropping the empty 
parens around some of your method calls, i.e.:
$c->stash()->{something}
is IMO easier to read as:
$c->stash->{something}

I believe all the docs and current sample apps don't use parens on these 
methods.

-Andy



More information about the Catalyst mailing list