Archive for May, 2017

It’s a good thing the roman empire died out when it did.

Monday, May 8th, 2017

The greeks too, now that I think about it. There’s a number of times in human history when people were on the brink of major technological progress. Maybe the timing was wrong, on the wrong people were in the wrong place at the wrong time, or maybe there were just too many stupid people.

But for whatever reason, the industrial revolution didn’t happen until fairly recently, and it’s a good thing.

If the romans had discovered electricity and figured out they could dig up oil for fuel for generators, and for running combustion engines, there wouldn’t have been any left for me now.


C++ should have been called ++C

Monday, May 8th, 2017

Except for the odd side-effect, in C, c++ is basically equivalent to ++c.

But in C++ the magnitude of those side-effects is far greater, so much so that in a bunch of stl cases where it matters, it is far more efficient to use ++c than c++. So it seems to me it would have made more sense to recognize this by calling the language ++C instead of C++.