[Ilugc] perl OO

  • From: suraj@xxxxxxxxxxxxx (Suraj Kumar)
  • Date: Sat, 3 Dec 2011 21:15:18 +0530

On Sat, Dec 3, 2011 at 4:52 PM, Girish Venkatachalam <
girishvenkatachalam at gmail.com> wrote:


It does not force one to think much, it is not pedagogical and
abstruse or confusing. It just gets your job done.


I'm assuming, by "It", you meant OOP in general.

I take it that your interest is in looking at perl as a way to have fun -
than "get job done". But, unfortunately, majority of the people, whether
hobby programmers or professionals who get paid to write code, want to get
"something done".

As a trainer, if you think perl is a good language for pedagogy, there are
more stricter languages like C that can help. If you're looking for
Abstruse/Confusing languages (I wonder, why though),  there are other more
esoteric languages: http://en.wikipedia.org/wiki/Esoteric_language

However, for getting your job done, it is incorrect to give the impression
that perl cannot be used for getting one's job done. Moose and modern
frameworks built around Moose bring object oriented features to perl in
many innovative ways.

I would partially agree with you that object oriented programming (the way
it is done in Java) makes it possible for anybody and everybody to "get
their job done" - which is also bad from the point of view of building
teams and organizations (very difficult to gauge one's programming /
analytical capabilities). Perl, that way, is a very useful tool for
filtering out and hiring the best. But due to its "kinda esoteric" nature,
there aren't as many perl programmers around as there are Ruby / PHP /
Python and... last but not the least, Java programmers. ;)




But in perl it is nice and simple.


In some other languages, like Python, it is even more so. But, of course,
understanding OO in general helps than looking at "easy ways out" to do
something without learning about it.

regards,

  -Suraj

-- 
Career Gear - Industry Driven Talent Factory

Other related posts: