Re: Do I *have* to use 'OOP' to use modules?



"Abigail" <abigail@xxxxxxxxxx> wrote in message
news:slrneluumh.bt.abigail@xxxxxxxxxxxxxxxxxxxxxxx
Arved Sandstrom (asandstrom@xxxxxxxxxxxxx) wrote on MMMMDCCCXXVII
September MCMXCIII in <URL:w6D7h.11870$gy2.6058@edtnps90">news:w6D7h.11870$gy2.6058@edtnps90>:
()
() I'd be interested to hear why you think OO Perl is not worth bothering
with.


OOP doesn't have object attributes natively. The programmer has to
build this him/herself.

And that's the root of evilness in Perls OO.

I cringe a bit when the term "native" comes up, because it means so many
different things in programming. But I will assume that by "native" object
attributes you mean that there is a way, in the language, of syntactically
distinguishing the fields of the object that are logical attributes from
those that are not (and are just implementation details).

In other words, how much built-in support is there in the language for
encapsulation. Which in turn leads to so much else in OOP.

Am I reading you correctly?

AHS


.



Relevant Pages

  • Re: Python or PHP?
    ... > every language here and there more ways to do something. ... The best the programmer can do, as you imply, is to ... parse out into proper perl expressions. ... > lists, dictionaries, etc. etc. ...
    (comp.lang.python)
  • Re: Python or PHP?
    ... If you want to program in a normal language, ... Not in Python or Perl, ... > I doubt if any Perl programmer in the given context would have any ... Why do you think in Java one can call the gc ...
    (comp.lang.python)
  • Re: Python or PHP?
    ... >> every language here and there more ways to do something. ... The best the programmer can do, as you imply, is to ... I am curious of a list of extraneous methods in Perl (more about the ... I just had a glance on Python, ...
    (comp.lang.python)
  • Re: Python or PHP?
    ... If it's one of the things for which Python ... every language here and there more ways to do something. ... you make Perl more complicated than it is:-D. ... Not the programmer. ...
    (comp.lang.python)
  • Re: What happens to copyright when a company goes out of business?
    ... OOP is overkill for most small utilities. ... but it implies that the language has procedure calls ... Any programmer writing programs for consumption by others should by this ...
    (uk.legal)