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

 

posted @   PanPan003  阅读(62)  评论(0编辑  收藏  举报
编辑推荐:
· 没有源码,如何修改代码逻辑?
· 一个奇形怪状的面试题:Bean中的CHM要不要加volatile?
· [.NET]调用本地 Deepseek 模型
· 一个费力不讨好的项目,让我损失了近一半的绩效!
· .NET Core 托管堆内存泄露/CPU异常的常见思路
阅读排行:
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· DeepSeek R1 简明指南:架构、训练、本地部署及硬件要求
· 没有源码,如何修改代码逻辑?
· NetPad:一个.NET开源、跨平台的C#编辑器
· 面试官:你是如何进行SQL调优的?
历史上的今天:
2019-05-10 setInterval、clearInterval的回调函数,实现函数间调用的先后顺序
2018-05-10 Tag Helpers in forms in ASP.NET Core
点击右上角即可分享
微信分享提示