Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: Creating objects within objects being strange...

by mr.nick (Chaplain)
on Sep 08, 2001 at 23:10 UTC ( [id://111202] : note . print w/replies, xml ) Need Help??


in reply to Re: Re: Creating objects within objects being strange...
in thread Creating objects within objects being strange...

Heh, well, yes, you certainly aren't alone in your feeling about that ;) I guess me writing it as "new Object" instead of "Object->new()" is a leftover from my C++ days and from the fact that I (apparently) am a Java developer now :-/ (which, one of these days, I'm going to write a nice meditation on the comparitive differences between the two ... I have to admit, I like Java... it makes OO programming in perl seem very clunky).

mr.nick ...

Replies are listed 'Best First'.
Re: Re: Re: Re: Creating objects within objects being strange...
by demerphq (Chancellor) on Sep 09, 2001 at 16:17 UTC
    Id be interested in reading a comparison. Ive only perused Java, not used it and quite frankly it seemed on such a brief overview to be quite clunky at least in a pedantic way. All the get/set nonsense and the like. I really like the way in perl a sub can metamorphize itself depending on the context and usage. I admit that its implementation is open to serious error if care is not taken, but on the other hand flexibility does have a cost. :-)

    As ive said though my experience of Java is minimal to say the least so an overview, maybe written from the point of view of moving from perloo to javaoo would I am sure be very much apreciated by myself and the rest of the non-java using monk community.

    In short i look forward to reading it.. /msg me when its done please? :-)

    Yves
    --
    You are not ready to use symrefs unless you already know why they are bad. -- tadmc (CLPM)