Object-Disoriented Programming(shamusyoung.com)
shamusyoung.com
Object-Disoriented Programming
http://www.shamusyoung.com/twentysidedtale/?p=9557
8 comments
I can't tell you how many times I have googled an issue only to have #10(?)on his list happen to me. Nevermind I figured it out myself...
A damn dirty trick that is.
the link seems to be down at the moment
For me what killed C++ above all else is how incredibly 3rd-party-library hostile it has turned out to be.
The article covers a bunch of stumbling blocks that are external to the language, but there are at least as many in the language itself.
It wasn't deliberate of course, but a million little decisions and unadressed problems in the language ended up conspiring to create a miserable experience when assembling systems from libraries. This may not have been a very big problem 20 years ago - I suspect the current culture of many small libraries as building blocks didn't really exist then - but today it's a show stopper.
The article covers a bunch of stumbling blocks that are external to the language, but there are at least as many in the language itself.
It wasn't deliberate of course, but a million little decisions and unadressed problems in the language ended up conspiring to create a miserable experience when assembling systems from libraries. This may not have been a very big problem 20 years ago - I suspect the current culture of many small libraries as building blocks didn't really exist then - but today it's a show stopper.
How about the way that the standard doesn't specify the linker's name mangling, so many linkers do it in mutually incompatible ways, meaning you can't use a library linked by one linker with a main program linked by another.
I used to love C++ until I realized powerful languages existed that didn't require you to read several books (e.g Scott Meyers effective C++ series) in order to avoid shooting yourself in the foot.
I feel your pain, my friend.