4 ms·
I can remember about 20 years ago a colleague getting quite frustrated that a bug he had been looking at for quite a long time came down to someone doing someth
by arethuza 2y ago
I can remember about 20 years ago a colleague getting quite frustrated that a bug he had been looking at for quite a long time came down to someone doing something bizarre in an overloaded assignment operator in C++.
- guappa 2y agoI've seen methods with names like "get_value()" have extensive side effects. No type system can fix bad programming.
- arethuza 2y agoOf course I think we have all seen horrors like that - what I remember was his completely exasperated response not the technical details of the bug.
- pastage 2y agoComplexity is mostly exponentiellt worse in the unknowns and you can not graph what you already know. The point in the article is that when we read code we need another visualization to change or mental model. I can scan code and find most bugs fast, but when you are stuck a complexity by row/column sure would be handy to find overloaded assignments.