3 ms·
Similar thoughts here. The biggest problem for C++ that I see is that it has historically not had any batteries included. That strokes the ego of an average pr
by batou 11y ago
Similar thoughts here.
The biggest problem for C++ that I see is that it has historically not had any batteries included. That strokes the ego of an average programmer and gets the creative juices flowing. Rather than doing discliplined research and picking an off the shelf solution, you end up with a poor copy or incongruent invention. Or even worse, some crap bolted onto MFC.
Roll on a few years later and the patterns haven't scaled well, the original programmers have left after becoming frustrated with the corner they coded themselves into and the only justifiable cost is to put 12 months of cash on the table and start again because your business' greatest cash generator is a hairball and you can no longer evolve it cost effectively.
The last three chunks of work I have done are to get companies out of these situations. Not pretty and a loveless task, but for me I'm right at home. The crimes I've seen are worst in the C++ and PHP areas. I suspect they suffer from the same problems and most of the problems are caused by inexperience and the ability to merely hit a few keys to generate a large hand grenade.
- krylon 11y agoPart of the problem might be experience. A number of people seem to have come to C++ from C, and the transition can be overwhelming. PHP is on of the few languages I've met I truly dislike, but I have had only very limited contact with it, and that was about 11 years ago, so I cannot comment on the current state of affairs. (I do remember it did have good documentation, though.) I have had to take on other people's code a few times, but I was very lucky in so far as the applications I inherited were written and organized in a very sanity-preserving way.