in reply to Modules, Frameworks, and Reinventing the Wheel
when i'm coding something, even if it's a small program, it also helps me to encapsulate things in modules (especially in OO). i don't do uml specs (when i'm coding alone), so i think about what functionality i want, and create a class. if i want more functionality i usually first use it in the main script like $object->do_unexisting_functionality() and then add this method to the class. i just find it more maintainable. but maybe that's just a personal preference. just my 2 cents.
Update: about too much modules - i recently installed Maypole. i did perl Makefile.PL etc. for every single PREREQ_PM. i didn't count how much modules i installed recursively on that afternoon, but it was incredible. lots of the required modules were probably just optional but were in PREREQ_PM, so i maybe installed 20 modules i will never use. but hey, disk space is cheap ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Modules, Frameworks, and Reinventing the Wheel
by gunzip (Pilgrim) on Aug 12, 2004 at 23:11 UTC | |
by tinita (Parson) on Aug 13, 2004 at 07:45 UTC |