| ▲ | kalaksi 6 hours ago | |||||||||||||||||||||||||||||||
This shows how hard it is to create a generalized and simple rule regarding programming. Context is everything and a lot is relative and subjective. Tips like "don't try to write smart code" are often repeated but useless (not to mention that "smart" here means over-engineered or overly complex, not smart). | ||||||||||||||||||||||||||||||||
| ▲ | pydry 4 hours ago | parent [-] | |||||||||||||||||||||||||||||||
I dunno, Ive seen people try to violate "dont prematurely optimize" probably a thousand times (no exaggeration) and never ONCE seen this happen: 1. Somebody verifies with the users that speed is actually one of the most burning problems. 2. They profile the code and discover a bottleneck. 3. Somebody says "no, but we shouldnt fix that, that's premature optimization!" Ive heard all sorts of people like OP moan that "this is why pieces of shit like slack are bloated and slow" (it isnt) when advocating skipping steps 1 and 2 though. I dont think they misunderstand the rule, either, they just dont agree with it. Did pike really have to specify explicitly that you have to identify that a problem is a problem before solving it? | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||