Danger Will Robinson! Missing API!
Charles Oliver Nutter
headius at headius.com
Thu May 26 02:56:04 PDT 2011
On Thu, May 26, 2011 at 4:52 AM, Rémi Forax <forax at univ-mlv.fr> wrote:
> As John says, if isValid return true,
> you know nothing because it's perhaps not true anymore.
Not true. You know if it was valid when you queried it. That will be
enough for many use cases (including mine).
Your assertion could also be made about any state that's not volatile,
of course. I don't think it's fair to say you know nothing about a
bean's getSomething just because it could change immediately after,
and it doesn't mean that having getSomething is not useful. It just
means you need to be aware of threading effects...which pretty much
describes all concurrently mutable state, doesn't it? ;)
- Charlie
More information about the mlvm-dev
mailing list