Gabor,

I recently conducted a study of reusable code, and how prevalent it really
was or wasn't in our source. What I found is that on a particular project,
there is often room for organizing code in scripts into common modules,
which usually requires defining a better design to effectively reuse those
modules. Across projects, however, there is not very much code that can be
reused. Even after code is organized into modules for one project, a new
project will want to redesign those modules, and never reused in the earlier
projects.

I would conclude that it is a very good practice to move code from scripts
to modules for a particular project, which helps in designing the next
project better from an earlier point of time. Over a long period of time,
one understands earlier when it is time to organize code into modules.

Thanks,
David
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to