Comment on Ask HN: Examples of bad open-source code to learn what to avoid?parentComments−thih97yBut: avoid premature optimisation, it could lead to overly complex abstractions.Simple, clear structures with little repetition are ideal.Copy pasted data is painful to work with but still relatively easy to maintain and fix.Overly complex and unintuitive abstractions are the most difficult to maintain and improve.−ilaksh7yBut it's very repetitive code and uses identifiers like "var3" and "var4".
Comments
But: avoid premature optimisation, it could lead to overly complex abstractions.
Simple, clear structures with little repetition are ideal.
Copy pasted data is painful to work with but still relatively easy to maintain and fix.
Overly complex and unintuitive abstractions are the most difficult to maintain and improve.
But it's very repetitive code and uses identifiers like "var3" and "var4".