[Koha-devel] Add rule for no subroutines in PL scripts
Philippe Blouin
philippe.blouin at inlibro.com
Tue Sep 29 16:51:46 CEST 2015
The alternative would be to add some code extremely specific to some
script (like parsing some line of data) into a Koha/ library? Seems
more messy.
I like to isolate my mess.
Philippe Blouin,
Responsable du développement informatique
Tél. : (888) 604-2627
philippe.blouin at inLibro.com <mailto:philippe.blouin at inLibro.com>
inLibro | pour esprit libre | www.inLibro.com <http://www.inLibro.com>
On 09/29/2015 09:24 AM, Tomas Cohen Arazi wrote:
>
>
> 2015-09-29 9:23 GMT-03:00 Philippe Blouin <philippe.blouin at inlibro.com
> <mailto:philippe.blouin at inlibro.com>>:
>
> Hi!
> Morning here, maybe my brain is not ignited yet. But why such a
> rule? (if i understand its meaning correctly).
>
>
> Because that way there's no way to properly write unit tests for the
> function. And code gets messy too.
> I'll call for a dev meeting and add this to the agenda.
>
>
> --
> Tomás Cohen Arazi
> Theke Solutions (http://theke.io <http://theke.io/>)
> ✆ +54 9351 3513384
> GPG: B76C 6E7C 2D80 551A C765 E225 0A27 2EA1 B2F3 C15F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20150929/2a48b0c3/attachment.html>
More information about the Koha-devel
mailing list