Sometimes I use OOP in Perl, sometimes I don't. But then, sometimes I use Perl and sometimes I don't. The right tool for the right job and all that.

One thing to bear in mind is that OOP is a concept and NOT just a language feature. A prime example is GTK+ which is OOP written in C, which has zero support for OOP.

I dunno, do you feel that you can already use Perl to easily accomplish just about any task you want? If so, you can prolly study OOP in any language you want. If not, I would stick to Perl just so you can really develop an in depth knowledge of your first language. Not to mention that the details of learning the basics of the language will stay out of your way.

But please, if you're in this for the long haul, at least look at many languages. IMHO, any old programmer worth their salt should know at least half a dozen languages and especially C.

Oh, and just for the record, Perl is my favorite language because it is so expressive and I can bang things out in Perl way faster than any other language. On the other hand, Perl is useless for writing device drivers.


In reply to Re: Object Oriented Orientation by Anonymous Monk
in thread Object Oriented Orientation by koolgirl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.