logoalt Hacker News

cogman10 • today at 4:01 PM • 2 replies • view on HN

Here's the thing. I'd say that C++ is a great language for getting things done.

It gives you one of those fat swiss army knives I had as a kid with a spoon, fork, knife, toothpick, saw, nail trimmer, etc. The problem is it's easy to get dirty and the spoon would get locked in place after one use. But it was there, and it worked (once).

C++ is extremely malleable. I think the reason people like it is very similar to the reason people like lisp. That ability to do horrors like make a lisp interpreter with macros or templates is the charm of C++.

And if you are the only one writing it, it can be a joy because there are few limits to what you can or can't do.

It's only when you have to share a codebase with others that things can get out of hand fast without some committee established usage code and pledge.


Replies

tcfhgj • today at 4:06 PM

> Here's the thing. I'd say that C++ is a great language for getting things done.

my productivity sky rocketed when I switched to Rust.

➕ show 2 replies
cozzyd • today at 6:23 PM

Yes, C++ is an omnibus language where all things are possible.

➕ show 1 reply