Re: Consensus on getter conventions?
- From: Karl Nelson <kenelson ece ucdavis edu>
- To: Derek Simkowiak <dereks kd-dev com>
- Cc: Maciej Stachowiak <mjs eazel com>,Karl Nelson <kenelson ece ucdavis edu>, gnome-hackers gnome org,gtk-devel-list gnome org, kenelson rainbow ece ucdavis edu
- Subject: Re: Consensus on getter conventions?
- Date: Thu, 24 Aug 2000 17:39:11 -0700
>
> First, I don't really see this as a huge problem. Putting results
> into variables (instead of using nested function calls) makes for more
> readable code. But you do have a point...
>
> Second, apparantly Karl's method causes problems for other
> languages (at least, it does for Java).
I didn't read the java message that way. He said he need the number
of in/out arguments capped at one. C++ needs the same for most
functions. More than one means ugly C++ interface.
Note, that gtk+ constantly has more than 1 in/out parameter in
many functions that cause bindings problems.
--Karl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]