On Thu, 13 Feb 2014 15:27:28 -0500 Uri Guttman <u...@stemsystems.com> wrote:
> On 02/13/2014 12:39 PM, Janek Schleicher wrote: > > Am 05.02.2014 23:30, schrieb kavita kulkarni: > >> Can somebody suggest me good book to learn/practice object > >> oriented Perl programming. > > > > The usual answer is to study computer science. > > > > OO programming is the same independet of language. > > actually that isn't totally true. the concepts are fairly language > independent but some languages have better support for OO than > others. in particular it isn't hard to do OO even assembler (which i > did) in that i grouped common data together and called subs via > attached pointers. the biggest feature (which i generally don't like > anyway) is inheritance and that pretty much has to be in the language > to be effective. I find encapsulation to be the biggest advantage of OOP. Most shops I know of, including those which exclusively use OOP, use copy & paste as the main way to reuse code. -- Don't stop where the ink does. Shawn -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/