[Koha-bugs] [Bug 13240] advanced_notices.pl contains code obfuscation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 19 09:20:40 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13240

--- Comment #8 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #5)
> (In reply to M. Tompsett from comment #4)
> > > And the second syntax uses $h->{}{} which isn't so
> > > good: $h->{}->{} should be preferred, imho.
> > 
> > I agree with Frédéric Demians on this, though only because it makes the
> > change more apparently equal to me, not because it actually generates a
> > better or different data structure.
> 
> I have always used this syntax (4 years), and I won't change now :)

Although $a->{b}->{c} is more readable, it seems that both variations are both
widespread in Koha.
Changing a habit can be a good thing (at least sometimes) ..

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list