News for hackers. Stuff that matters.
Re:Why You Should Know C++ by DrJokepu on Wednesday May 20, 2009 @06:47AM (#618333)
Windows API is pure C. GTK is pure C. And these are quite serious (and not exactly obscure) development frameworks.
Re:Why You Should Know C++ by chancho on Wednesday May 20, 2009 @08:13AM (#618405)
Have you subclassed any GObjects lately? Or otherwise implemented custom GTK widgets? If so, you might know why GTKmm exists (nevermind that PyGTK, GTK# etc are arguably the intended ways to use GTK.) There is a good reason everyone in the Linux world screamed with glee when Nokia LGPLed Qt, and C++ (even the basic stuff) is a big part of that reason.
Re:Why You Should Know C++ by vorador on Wednesday May 20, 2009 @09:13AM (#618482)
No qt is the reason. qt is well designed and thought, contrary to gtk. And it's not because qt was written in C++.
Re:Why You Should Know C++ by joezydeco on Wednesday May 20, 2009 @11:59PM (#619859)
I'll second that. Qt is a beautiful toolkit. It's just enough C++ to be useful, and avoids all the templates and obnoxious flotsam that makes that language such a horror. Signals and slots work great, and other tools (qmake for example) are a pleasure to use.
Re:Why You Should Know C++ by wheels on Wednesday May 20, 2009 @07:44AM (#618379)
And, uh ... POSIX. The weapon of choice for UNIX black-belts.
Re:Why You Should Know C++ by markessien on Wednesday May 20, 2009 @07:37AM (#618371)
The Windows API is an array of functions that can be called the same from C as from C++. Microsoft provides several object oriented wrappers for this API, and it's very rare that any significantly large application is not calling the API over some kind of wrapper.
Re:Why You Should Know C++ by DrJokepu on Wednesday May 20, 2009 @07:56AM (#618387)
No, I think it's C. It's written in C and was (at least initially) designed to be called from C code. I think #ifdef __cplusplus followed by extern "C" doesn't make a C API C/C++. Also the fact that there are several Microsoft and third-party wrappers out there doesn't make it any less C, at least in my opinion.
Re:Why You Should Know C++ by markessien on Wednesday May 20, 2009 @10:16AM (#618561)
I did not say it's C++. It's C, but it's rare that it's used directly as C.
Re:Why You Should Know C++ by iroach on Wednesday May 20, 2009 @08:08AM (#618399)
Yes but the C++ based MFC wrappers for Win32 make Windows development much easier.