On Sun, Jul 5, 2009 at 16:38, Michael Jakl (JIRA)<[email protected]> wrote:
>
>     [ 
> https://issues.apache.org/jira/browse/VYSPER-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>  ]
>
> Michael Jakl closed VYSPER-92.
> ------------------------------
>
>    Resolution: Won't Fix
>
> Actually I don't think immutable object make much sense in an imperative 
> language, even though I know the advantages of immutable objects due to my 
> experience with functional programming.

Wow, don't let your prof read this ;-)

Java is an object-oriented languages. A major feature of OO is data
encapsulation, immutable objects are a certain strict kind of data
encapsulation.
Immuntable objects are helpful when sharing information with code you
don't trust or cannot control and where giving away a copy might be
too expensive.
Especially in parallel processing, immutable objects are
indespensible, see Erlang.

  Bernd

Reply via email to