On Thu, Jan 13, 2011 at 11:52 AM, Meir Guttman <[email protected]> wrote:
>
>
> Moving from script to module: Modularization of a command line script

>
> This is a _great_ idea! But first of all I would like to ask if by
> "modularization" you also mean "objectivization"? If so, I think that your
> talk should start with an intermediate-level introduction to objects. By
> "intermediate" I mean explaining _how_ a "class" is built. If I may speak on
> behalf of the newbies among us, I am sure most of us used objects so we know
> what it is and how it is used. But I for one have never written a class,
> never mind modified one to force some polymorphism and exploit inheritance.
>
>
>
> Or may be I am too much of a newbie??? Please second this or vote it down…

I am not yet sure which scripts I am going to use as examples for the
presentation.
The first step will most likely be writing a tests for the script.
Then trying to move some code to subroutines withing the script and then
move those subroutines to a module.

If time permits I might make that module object oriented
but I am not yet sure. It also depends on the case I am using as I don't
want to write OOP just for writing OOP.

This reminds me, if anyone has a script that s/he want to improve/modularize
and it is ok to be used as an example, I am open to receive those scripts
in my mail box.

regards
   Gabor
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to