Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about "data hiding" OOP paradigm issue


  • From: Cedric.Beust@xxxxxxx (Cedric Beust)
  • Subject: Question about "data hiding" OOP paradigm issue
  • Date: Thu, 30 Mar 2000 14:58:03 -0800

> From: Michael Brundage [mailto:michaelb@xxxxxxxxxxxxx]

> If you're passing an object to external code and require
> that the object will not be modified (e.g., say you're an
> applet host and passing a shared object to an applet) then
> you must use opacity to be safe.

This looks overkill to me, just pass a copy of the object...

-- 
Cedric
http://beust.com/cedric


---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx