Perl: the Markov chain saw | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
> When writing a new module, how do you decide whether to write it as an OOP module or a procedural module? Bod, great to see you thinking about this important topic so early in your programming career!
Given its crucial importance, it's well worth spending considerable time studying the dark art of interface design. My most comprehensive reference on this topic is On Interfaces and APIs. Other useful references:
For your question, an outrageously simple answer is to ask: Do I need more than one of these? If the answer is yes, OO is indicated, otherwise procedural. In reply to Re: Procedural vs OOP modules
by eyepopslikeamosquito
|
|