Linked by Thom Holwerda on Mon 3rd Sep 2012 20:46 UTC, submitted by MOS6510
General Development I like this one: "By definition, a program is an entity that is run by the computer. It talks directly to the CPU and the OS. Code that does not talk directly to the CPU and the OS, but is instead run by some other program that does talk directly to the CPU and the OS, is not a program; it's a script." Here's the other eleven.
Permalink for comment 533743
To read all comments associated with this story, please click here.
RE[2]: C++
by kwan_e on Tue 4th Sep 2012 01:49 UTC in reply to "RE: C++"
Member since:

Personally, my (biggest) issue with C++ is that it's simply too large of a language. If you get 10 people who say they know C++ chances are good that the only overlap is going to be the subset of C++ that is C.

Yes, but the people who are really proficient with C++ will use the STL, which has no overlap with C, because C simply does not have the facility.

The biggest issue with C++ are people who come from it from the C perspective and don't use the language features that promote safety. The easiest thing, first of all, is to use vectors and strings rather than arrays. The next easiest is to use RAII rather than dynamic allocation.

C++ also reinvents a bunch of things from C (such as I/O) and it's debatable whether it actually improved them.

I wouldn't call it reinvention. They just OO'd some of the tedious bits.

tl;dr. C++'s flexibility is both its strength and its weakness. It allows you to do all sorts of crazy things, but at the end of the day they're still crazy.

I haven't had to do a crazy thing in C++ at all. Have a look at Qt. Aside from the MOC (which translates to standard C++ anyway), there is nothing crazy with Qt.

Reply Parent Score: 5