On Feb 15, 2008 11:01 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED]>
wrote:

> Raymond Feng wrote:
> > My preference is to keep PassByValue as the prefix for the following
> > reasons.
> >
> > 1) The invokers implement this interface only for the cases to enforece
> > pass-by-value for remotable interfaces. Invocations over local
> > interfaces (pass-by-reference) don't even care about this flag.
> >
> > 2) The allowsPassByReference() method basically tells if it's safe to
> > pass data as-is without violating the pass-by-value semantics.
>
> Having a SomethingPassByValue interface provide an allowsPassByReference
> method is really confusing IMHO.
>
> I think we should use a consistent terminology with either passByValue
> or passByReference but not a mix of both.
>

+1 just to add agreement that its quite confusing like this.

   ...ant

Reply via email to