Re: [gtk-list] Why doesn't GTK+...
- From: Nils Philippsen <nils wombat dialup fht-esslingen de>
- To: Vomjom <vomjom earthlink net>
- cc: gtk-list redhat com
- Subject: Re: [gtk-list] Why doesn't GTK+...
- Date: Fri, 16 Jul 1999 01:19:50 +0200 (CEST)
Sorry, I just can't resist.
On Thu, 15 Jul 1999, Vomjom wrote:
> GTK+ allows one argument for functions like gtk_signal_connect()...
> why doesn't it allow multiple arguments using ellipses (...) as an
> argument? This could fit in many places, such as gtk_slist_append(),
> allowing you to append more than one thing at a time.
<SARCASM>
Maybe (just maybe) because varargs are such an easy thing to tamper with?
</SARCASM>
This would complicate things very much.
>
> There could be two copies of the function allowing for backward
> compatibility. Doesn't the compiler choose which function to run based
> on the arguments?
<SARCASM>
Do we program C++ here or what?
</SARCASM>
Polymorphism isn't part of ANSI C.
Bye,
Nils
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nils Philippsen @college: nils@fht-esslingen.de
Vogelsangstrasse 115 @home: nils@wombat.dialup.fht-esslingen.de
D 70197 Stuttgart phone: +49-711-6599405
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The use of COBOL cripples the mind; its teaching should, therefore, be
regarded as a criminal offence. -- Edsger W. Dijkstra
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]