in reply to Make Perl an OO language

i don't write much java these days but i've reviewed a fair amount of other folks' java code and i can confidently say that java does not force developers to learn OO principles. i still see entire applications that are just one class with a hundred methods, passing all the data as arguments. some people write C in every language.

i don't think that's necessarily a problem with java. the fact that you can escape the OO paradigm even just a little is probably a pro for java. just that if one is thinking of using java solely because they think it "forces developers to learn OO principles", they may want to re-consider.

anders pearson

Replies are listed 'Best First'.
Re: Re: Make Perl an OO language
by Jenda (Abbot) on Oct 29, 2002 at 21:47 UTC

    Agreed. and some write Basic in every language. I once saw a Turbo Pascal program that started with half a page of labels, one page of variables and the rest was just

    begin ... ... end.
    and the whole program was about 15 pages.

    I still don't know how could that person make that mess work.

    Jenda