+1 for adding it to coding conventions. Le 31/03/2014 16:49, Mark Tompsett a écrit :
Greetings,
I initially asked:
Is it supposed to be ‘=>’ or ‘=’ [for named parameters]? Does it matter? What is our standard? Should we have one?
Marcel de Rooy replied:
From the TT manual: Named parameters can be specified using either => or = and can appear anywhere in the argument list.
Hard to find that btw ..
So both seem to be fine.
Glad to hear that either way works, but shouldn’t we aim for consistency? Should we not suggest a standard, even if we don’t enforce it?
GPML, Mark Tompsett
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Fridolin SOMERS Biblibre - Pôles support et système fridolin.somers@biblibre.com