Subject: Re: search.c clean-up



A separate issue is making the decision as to which apps are worth
rewriting in C++, vs. just pushing forward with what's there. E.g.,
I dunno that I want to put a lot of time into redoing gawk in C++.
Grep is a smaller program, though.

it's not like the whole program would need rewriting. that's the advantage of Stroustrup's compatibility tradeoffs: we can just rewrite bits as they cause us trouble or are getting rewritten anyway for other reasons.

RAII is reason enough to use C++ on any program more complicated than /bin/true.

--
http://www.jessies.org/~enh/








Privacy