Заповіді розробки на GO. Доповідь Роба Пайка Go Proverbs на Gopherfest 2015

YouTube
Gopherfest 2015 | Go Proverbs with Rob Pike See the full list of proverbs here → https://goo.gle/38Uft1PGopherfest 2015 Playlist → https://goo.gle/3jDyasPSubscribe to The Go Channel → https://goo.gle/g...

Таймлайн:

  • 02:48 Don't communicate by sharing memory, share memory by communicating.
  • 03:42 Concurrency is not parallelism.
  • 04:20 Channels orchestrate; mutexes serialize.
  • 05:17 The bigger the interface, the weaker the abstraction.
  • 06:25 Make the zero value useful.
  • 07:36 interface{} says nothing.
  • 08:43 Gofmt's style is no one's favorite, yet gofmt is everyone's favorite.
  • 09:28 A little copying is better than a little dependency.
  • 11:10 Syscall must always be guarded with build tags.
  • 11:53 Cgo must always be guarded with build tags.
  • 12:37 Cgo is not Go.
  • 13:49 With the unsafe package there are no guarantees.
  • 14:35 Clear is better than clever.
  • 15:22 Reflection is never clear.
  • 16:13 Errors are values.
  • 17:25 Don't just check errors, handle them gracefully.
  • 18:09 Design the architecture, name the components, document the details.
  • 19:07 Documentation is for users.

Don't panic.

1