3 ms·
Ehh. All code smells. Especially if it was written by somebody else. Or yourself more than six months ago. Get some nose plugs and move on with life.
by patrick451 4y ago
Ehh. All code smells. Especially if it was written by somebody else. Or yourself more than six months ago. Get some nose plugs and move on with life.
- eurasiantiger 4y agoIf code doesn’t smell like anything, it probably doesn’t do any heavy lifting.
- rightbyte 4y agoHiding complexity by smearing it out over abstractions and more loc:s is the name of the game.
- eurasiantiger 4y agoIn my experience, complexity arises from a mismatch between data structure and data usage patterns, and it can be eliminated by changing the data structure to match its usage.
- rightbyte 4y agoYe. But if the problem to solve is complex or convoluted enought so will the solution be. Somewhere the code has to actually do something no matter the approuch.