Subject:
Re: [Tutor] Objects, persistence & getting
From:
"Alan Gauld" <[EMAIL PROTECTED]>
Date:
Mon, 17 Jan 2005 07:48:28 -
To:
"Liam Clarke" <[EMAIL PROTECTED]>, "Tutor Tutor"
To:
"Liam Clarke" <[EMAIL PROTECTED]>, "Tutor T
Law of Demeter?
And, OK I'll just pass references, it was a passing idle thought.
But thanks : )
What kind of languages espouse real OOP? Smalltalk gets mentioned a lot. Ruby?
Regards,
Liam Clarke
On Mon, 17 Jan 2005 07:48:28 -, Alan Gauld <[EMAIL PROTECTED]> wrote:
> > Well, one thing
> Well, one thing learning Java is good for is for thoroughly
> demystifying OOP.
I'd have to disagree here because Java's version of OOP has
very little to do with real OOP. Java just uss classes as
a kind of modularisation mechanism and does not make much
use of tthe real OO features. In fact i
On Jan 16, 2005, at 21:13, Liam Clarke wrote:
If I understand correctly, once an object is created, as long as
references to it exist, it isn't garbage collected.
Correct, more or less (in the exception case where a references b, b
references a but nothing else references either, both are GC'd if
I'm not sure I understand your question. but if I do, the answer is, sometimes you can do it, but it
is rarely a good idea.
Liam Clarke wrote:
If I understand correctly, once an object is created, as long as
references to it exist, it isn't garbage collected.
That's right.
So, if module a.py crea
Hi all,
Well, one thing learning Java is good for is for thoroughly
demystifying OOP. It's not some magical acronym of programming
goodness, it's just an 'organic' way to organise code.
That, and it looks good on your CV, even if you won't be using it. Like XML.
It's got me thinking about object