3 ms·
Feels too heavy on "donts." I imagine the motivation the desire to be heard and understood. But I also need something simple, like "keep it simple, stupid" or "
by ianai 10y ago
Feels too heavy on "donts." I imagine the motivation the desire to be heard and understood. But I also need something simple, like "keep it simple, stupid" or "first have a working product that anyone could read". Positivity >> negativity.
- dovdovdov 10y agoI 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/
- RangerScience 10y agoThink of a circle with a dot at the center. When you define things positively - "do this, do that" - you're saying "get to the center dot, and come from anywhere on the circle". When you define things negatively - "don't do this, don't do that" - you're saying "get to anywhere on the circle, and come from the dot." "Test your code". Your code could be library code, it could be core language features, it could be framework patterns, it could be executable utilities. Ends up all the same - tested code. From anywhere, to somewhere specific. "Don't test controller actions". You can test requests, you can test at a feature level, you can test the models and functions used by the controllers. Ends up all kinds of different - no tested controllers. From somewhere specific, to anywhere. Something telling to do or not do something doesn't mean it's positive or negative; that comes from tone and presentation, not content.