LWN.net Logo

C as OO

C as OO

Posted Apr 5, 2009 6:20 UTC (Sun) by quotemstr (subscriber, #45331)
In reply to: A GNOME 3.0 plan by Ze
Parent article: A GNOME 3.0 plan

While it's true that writing OO code longhand in C might take up more characters than the same program written in C++, most of the time we spend coding isn't spent typing. The difference is immaterial. Personally, I'd prefer C++, but there's something to be said for writing in the linga franca, C.


(Log in to post comments)

C as OO

Posted Apr 6, 2009 1:07 UTC (Mon) by Ze (guest, #54182) [Link]

>>While it's true that writing OO code longhand in C might take up more characters than the same program written in C++, most of the time we spend coding isn't spent typing. The difference is immaterial. Personally, I'd prefer C++, but there's something to be said for writing in the linga franca, C.
It's got a lot more to do than just the typing. It's all the type safety and general model. GObject is a PITA and deserves to die a quick death (to save the rest of us poor souls from using it).

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds