|more useful options|
Re: Switchby CountZero (Bishop)
|on Aug 07, 2016 at 07:56 UTC||Need Help??|
This is a module that was originally conceived almost 10 years ago. The last changes go back more than two years.
It says clearly in the documentation not to use it when you can use the "given ... when" keywords.
It is not part of core, so if you use it you must have installed it yourself.
I'm against an "official" deprecation mechanism for non-core modules. If one starts doing that, one must do so for each and every non-core module that has some "issues" or otherwise people will start relying on the fact that a module is not being "officially" deprecated.
Deprecation of modules should remain the author's responsibility and using non-core modules should remain the user's responsibility. This is the only sensible approach, in my opinion.
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey JamesMy blog: Imperial Deltronics