Linked by Thom Holwerda on Thu 14th May 2009 15:39 UTC
Java This article explains how to develop and implement trees in the Standard Widget Toolkit. Learn how an SWT tree is created and populated with data, how columns can be used to categorize data, how a tree can be extended to support row sorting, and how the tree's content can be searched.
Permalink for comment 364140
To read all comments associated with this story, please click here.
RE[5]: ...
by cb_osn on Mon 18th May 2009 22:22 UTC in reply to "RE[4]: ..."
Member since:

See that's funny, because if you asked Stroustrup, only using C++ to replace what you'd otherwise be using C for is a huge waste of the immense featureset that C++ provides.

Indeed, it is. There is no reason not to take advantage of function and operator overloading, classes, templates, RAII, the STL, and even the fantastic Boost libraries. In fact, Stroustrup even suggests that the only reason to use C over C++ is when you're faced with the lack of a good C++ compiler.

You know what's worse than a Java programmer who doesn't know how to program? A C++ programmer who doesn't know how to program. The usual assumption is that bad programmers won't cut it in C++, but personal experience has taught me that bad C++ programmers are quite plentiful. The sheer destructive power of the bad C++ programmer is unmatched in the world of software engineering.

Bad programmers are plentiful in every language. That is unavoidable. What I find disturbing is that universities, due mainly to retention and budget problems, have institutionalized the act of creating bad programmers.

The other dirty little secret is that unless you're a bonafide expert with years of experience, you're probably a bad C++ programmer.

It is a large and complex language. I'd say it takes at least a decade of experience with C++, working with it full time on a variety of different projects at different technical levels before you can call yourself a good C++ programmer. And of course, any good C++ programmer has copies of the Scott Meyers books and D&E on their bookshelf.

Edited 2009-05-18 22:29 UTC

Reply Parent Score: 2