源自:Rob Pike points out

Simple, Poetic, Pithy

Don't communicate by sharing memory, share memory by communicating.

Concurrency is not parallelism.

Channels orchestrate; mutexes serialize.

The bigger the interface, the weaker the abstraction.

Make the zero value useful.

interface{} says nothing.

Gofmt's style is no one's favorite, yet gofmt is everyone's favorite.

A little copying is better than a little dependency.

Syscall must always be guarded with build tags.

Cgo must always be guarded with build tags.

Cgo is not Go.

With the unsafe package there are no guarantees.

Clear is better than clever.

Reflection is never clear.

Errors are values.

Don't just check errors, handle them gracefully.

Design the architecture, name the components, document the details.

Documentation is for users.

Don't panic.

最新文章

  1. HTML5可视化编辑与微数据
  2. 【python】pymongo查找某一时间段的数据
  3. Objective-c中 isEqual ,isEqualToString , == 三者的区别
  4. C# WinForm程序添加引用后调用静态方法时报“Interfaces_Helper.Global”的类型初始值设定项引发异常。---> System.NullReferenceException: 未将对象引用设置到对象的实例。
  5. mysql 命令行快速导出数据,导入数据
  6. Handler 引起的内存泄露
  7. git的忽略文件和删除文件操作
  8. nyoj 93 汉诺塔(三)
  9. 微软职位内部推荐-Software Engineer II-News
  10. offsetParent、offsetTop、offsetLeft、offsetWidth、offsetHeight
  11. GitHub安装失败
  12. php数组操作函数
  13. [RxJS] Error Handling in RxJS
  14. ArcGIS API for JavaScript FeatureLayer服务属性编辑
  15. java常见加密方式介绍
  16. LeetCode 178. 分数排名
  17. S2T40,第四章,简答5
  18. JAVA除法保留小数点后两位的两种方法
  19. C++11 vector使用emplace_back代替push_back
  20. EF Code First模型约束

热门文章

  1. [EffectiveC++]item38:通过复合塑膜出has -a 或“根据某物实现出”
  2. 理解Underscore中的_.bind函数
  3. 对于view的深入理解,续篇(一)重写ViewGroup的onDraw
  4. Android HttpClient自己主动登陆discuz论坛!
  5. android 智能提示
  6. [19/03/28-星期四] IO技术_基本概念&字符编码与解码
  7. 优化器,sgd,adam等
  8. mysql5.7.22tar包安装
  9. wshShell.SendKeys模拟键盘操作
  10. CodeForces - 616C(很有意思的bfs,set,map的使用)