Feb-03-2017, 05:27 PM
(Feb-03-2017, 01:53 PM)wavic Wrote: I am using this when I have many, many functions.
You should start before that, for two reasons:
- Code complexity (and test coverage) goes with the number of
if
s...
- One day you add a bunch of new functions and have to rewrite your code
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Your one-stop place for all your GIMP needs: gimp-forum.net