[openbeos] Re: Pointer or reference?

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sun, 28 Mar 2004 20:10:43 +0200 CEST

Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx> wrote:
> > Well, is there any reason that we copy that? When the media and 
> > network
> > kit already use them, maybe we should propagate its use for the 
> > future
> > a bit more?
> Personally, I like references and use them in my code. But that code 
> is not 
> a public API and changing a reference to a pointer, when I see the 
> need, 
> doesn't hurt me.
> [...]
> To cut it short, I'm sceptical.

:-)
Hm, okay, I am all for consistency as well. But I wouldn't mind to 
introduce new APIs which are different (like the Media Kit), too.
But anyway, before talking about that in length, we should probably 
move on to R2 :-)

Bye,
   Axel.


Other related posts: