Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^6: A Perl vs. Java fight brews

by ikegami (Patriarch)
on Jul 24, 2006 at 18:23 UTC ( [id://563343]=note: print w/replies, xml ) Need Help??


in reply to Re^5: A Perl vs. Java fight brews
in thread A Perl vs. Java fight brews

If we are talking past each other, he's trying to say "Perl is more readable" or "Perl requires less structure", why is his conclusion "Hence the charge: Java is Object Oriented Only."? I was challenging the four claims that Java is only OO, and his conclusion indicates he was still on subject.

If he's no longer on that subject, he's trying to show that Perl is more readable and/or that Perl requires less structure. I'm not interested in that because I agree with those propositions. I'm interested in knowing why people claim Java is only OO.

Java has probably been marketed as an exclusively OO language. It was surely designed to be. But that doesn't mean one can't do procedural programming in Java as easily as OO programming in Java.

Update: Reordered for clarity.

Replies are listed 'Best First'.
Re^7: A Perl vs. Java fight brews
by iguanodon (Priest) on Jul 25, 2006 at 01:04 UTC
    I realize you're technically correct that you can do procedural programming with Java, but what I meant by that comment is basically what philcrow said. Although Java has some native types that are not objects, you have to instantiate objects to do anything useful. So to me that means that Java doesn't support non-OO programming.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://563343]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-25 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found