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

•Re: Learning OOP

by merlyn (Sage)
on Jun 23, 2003 at 03:32 UTC ( [id://268037]=note: print w/replies, xml ) Need Help??


in reply to Learning OOP

If you truly want to learn objects, you should probably learn objects in a system that is truly object oriented. Smalltalk is a good language for that, and the Squeak system is cross-platform, full of goodies, fun to play with, and has a strong community support (including a couple of Squeak specific books).

Don't bother listening to claims that Java or C++ are "object-oriented". They're hybrid languages like Perl (some objects, some primitives).

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re: •Re: Learning OOP
by steves (Curate) on Jun 23, 2003 at 04:01 UTC

    Speaking of Squeak, who can answer a question for me: Alan Kay is on the Squeak team. I know there was an Alan Kay involved with the development of Smalltalk at Xerox PARC. But there was also a Kay involved with developing an early PC named the Kaypro, which happens to be the first computer I owned. I've seen people attribute both to Alan Kay; others say there were two different Alan Kay's; and still others say that Kaypro was founded by Andrew -- not Alan -- Kay. I know I'm now OT but I've always wondered about that. I still have that CP/M based Kaypro. 1 experience point promised to anyone who knows the real story!

      Hi,

      1. Andy Kay - kaypro
      2. Alan Kay - smalltalk

      I'll collect the experience point later ;-)

Re^2: Learning OOP
by adrianh (Chancellor) on Jun 24, 2003 at 11:28 UTC
    If you truly want to learn objects, you should probably learn objects in a system that is truly object oriented.

    Totally agree with merlyn.

    Along with Smalltalk I would take a look at Ruby (whose more traditional syntax you might find more friendly) and Eiffel (if you're of a static-typing bent.)

    Much as I love Perl I wouldn't recommend it as a learning environment for OO concepts. Because of the TMTOWTDI perl approach (and the cruftyness of some of the Perl5 OO implementation) its harder to see the advantages (and disadvantages) of OO code and the OO mindset.

    My advice would be to learn OO in a strictly OO language. Get into the OOA/OOD/OOP mindset. Take the best bits of what you learn and apply it back to Perl.

Log In?
Username:
Password:

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

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

    No recent polls found