4 ms·
I guess there are 'donts' because people need help with the keep it simple part, they are quite comfortable with the stupid part.
by dovdovdov 10y ago
I guess there are 'donts' because people need help with the keep it simple part, they are quite comfortable with the stupid part.
- ianai 10y ago"nobody's grading your code by how many abstractions and topics from a textbook it employs."
- AstralStorm 10y agoThat said, people sometimes ate grading your code based on performance. Good algorithms often win over simplistic ones.
- makapuf 10y agoI'd say when you have big n, smart algorithms O(n) are better. But most of the time you have small n. better to optimize just the real big N in your program, for what you profiled, than using complex and "optimized" algos when N<1000. (I cannot retrieve the article this was taken from)
- adrianN 10y ago"It's okay for my n!" http://accidentallyquadratic.tumblr.com/ http://accidentallyquadratic.tumblr.com/