TODO—— Coding Wisdoms

原文:https://phauer.com/2020/wall-coding-wisdoms-quotes/

  • Premature optimization is the root of all evil.:
  • Rules of optimization: 1. Don’t! 2. Don’t… yet. 3. Profile before optimizing. Michael Jackson  
  • As a programmer, never underestimate your ability to come up with ridiculously complex solutions for simple problems. Thomas Fuchs
  • Get your data structures correct first, and the rest of the program will write itself. David Jones
  • The #1 rule of distribute computing: Don’t distribute your computing! At least if you can in any way avoid it. DHH (David Heinemeier Hanson)
  • Scalability. The #1 problem people don’t actually have but still solve. Eberhard Wolff
  • Shared + Mutable = Danger! Andrey Breslav
  • Prefer duplication over the wrong abstraction. Sandi Metz
    •   Source: Talk “All the Little Things” and the post “The Wrong Abstraction” by Sandi Metz.
    • I also like the following quotes from the talk:

      • “I felt like I had to understand everything in order to help with anything.” (5:05)
      • “Duplication is far cheaper than the wrong abstraction”
  • Avoid premature distribution. Avoid premature abstraction. Both offer a lure of purity, cleanliness and scalability but add complexity and operational/cognitive overhead. Karl Isenberg
  • Data dominates. If you’ve chosen the right data structures and organized things well, the algorithms will almost always be self-evident. Data structures, not algorithms, are central to programming. Rob Pike’s 5. Rules of Programming
  • Compassionate Tech Values: Ego < Humility. Elitism < Inclusion. Competition < Cooperation. Being Smart < Learning. Being a Rockstar < Being a Mentor. April Wensel
原文地址:https://www.cnblogs.com/panpanwelcome/p/14750805.html