Don't ask to ask, just ask | |
PerlMonks |
Re^6: Yet another config file editing programme : Tell me how to make it better !by eyepopslikeamosquito (Archbishop) |
on Sep 06, 2021 at 08:47 UTC ( [id://11136500]=note: print w/replies, xml ) | Need Help?? |
Interesting to learn your programming history! Hadn't heard of Coral 66 before.
Notwithstanding Coral66 being a fine language for its time -- even endorsed by Her Majesty Elizabeth II I see (rare for a programming language) -- I don't agree with your expectation that programming with Perl and its vast CPAN library is as easy as playing with Lego blocks (besides, it's Jenga not Lego ;). Update: In addition to endorsing Coral 66, Her Majesty Elizabeth II adores the Perl programming language - which she subtly reveals by wearing a pearl necklace time and time again (as in her wikipedia photo). Though using CPAN modules may seem "free", there are many pitfalls for the unwary (as noted at Writing Solid CPAN Modules):
Note that many of the points above apply not just to the module you are using but to all of its dependencies too. See also Dependency hell (wikipedia). So, if faced with your problem, I would roll my own code (without using the dreaded Switch! ;). I would probably roll my own code even if a CPAN module were available, to avoid paying the dependency costs described above. As already discussed to death, I'd focus on Maintainability, tybalt89 on Conciseness, you on Readability. TMTOWTDI! :) Updated: expanded last bullet point based on Perl Monks poll: I am most likely to install a new module from CPAN if:
In Section
Seekers of Perl Wisdom
|
|