Re: [gnome-db] Patch for const removal



On Wed, 2003-11-19 at 14:51, Paisa Seeluangsawat wrote:
> > > tnhose functions [gda_value_*] are wrong. As I said, all GNOME libs
> > > never use constas the object argument (object_whatever (Object
> > > *object...), so we shouldn't do the same.
> > ...
> > > > > - -const GList *
> > > > > +GList *
> > > I was just carrying out your idea here.  Isn't GList one of your
> > > "object_whatever"?  Didn't you say *all* GNOME libs never use const
> > > objects?
> > 
> > I never said such a thing. ...
> > 
> > It's not about "let's do it like the cool guys", but "let's fix it", and
> > I think we all agree the const's in those files are wrong, even if it's
> > the correct fix semantically speaking.
> 
> You are defensing the ground I'm not attacking here.  I did not say
> "Rodrigo said [foo] because it is what cool guys do".  I suspected
> that earlier, but you cleared it out weeks ago.  Last e-mail, all I
> said was "Rodrigo said [foo]".  And from your e-mail that I quoted,
> any reasonable person would interpret you as having said that.  Of
> course, if it was a misunderstanding, you can tell us what you really
> meant to say.
> 
> And you haven't answered my question.  Buying into your "no const"
> argument, why shouldn't I remove const from GList?

because in that special case it seems to make sense.

cheers




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