4 ms·
Maybe if you used a typesafe language, you wouldn't have to track down 100 other more significant problems (:
by spkm 3y ago
Maybe if you used a typesafe language, you wouldn't have to track down 100 other more significant problems (:
- jstimpfle 3y agoI'm using C/C++, which do provide a good level of type safety. And no, types are absolutely not my problem. In fact, rigid type systems are a frequent source of practical problems, and they often shift the game to one where you're solving type puzzles -- instead of working on the actual functionality.
- KerrAvon 3y agoCome on, dude. C provides almost no type safety whatsoever. There’s no point in saying “C/C++” here, because you won’t adopt the C++ solutions for making your code actually typesafe.
- jstimpfle 3y agoType safety is not a standardized term, and it is not binary. Being black and white about things is almost always bad. One needs to weigh and balance a large number of different concerns. A lot of "modern C++" is terrible, terrible code precisely because of failing to find a balance. Many C++ "solutions" are broken by design.