[SDL] Re: A question on GUIs
Micah Brening
micah.brening at gmail.com
Sat Dec 24 03:33:49 PST 2005
Clemens Kirchgatterer <clemens <at> 1541.org> writes:
>
> sorry, but these arguments sound masochistic to me. And the mentioned
> gtk+ is a perfectly good example to not code an OO toolkit in C. awfully
> long function names, no namespaces, casts all over the place. i think
> the only valid reason, gtk is done in C, is that at the time it was
> started, C++ wasn't that mature and portable. where is the point in
> coding OO, using a language that does not support it, when on the other
> hand, there is an OO counterpart of that language?
Well, as one that prefers C, I do have to agree with what you said. The long
function names has caused many compilation errors for me due to not spelling a
function correctly (oohh, I wrote new_buttn_mouse_event_listener instead of
new_button... blah blah blah) I never used namespaces, but I believe you anyway.
My ownly problem is that C fits my mind better (though I learned C++ first) I
have been working on one project for about a year, I kept switching between C
and C++. C++ was developing faster, but C was running faster (a difference
between 30fps and 50fps on one of my dumpster PCs(litterally collected from the
trash)) If I found how to make C++ run as fast as C, I may switch to it and
stick with it. (that or just forget it all together and stick with Assembly)
But this is getting off topic, sorry for the ramble
> p.s.: hopefully not starting a flamewar here.
Heh, I agree there as well. I probably shouldn't even reply to this one in case
it does spur on something. No offence meant people! Just rambling.
Micah
More information about the SDL
mailing list