Invisible Friends
  • Home
  • Author
  • Tag
  • Help
Subscribe
Tagged

go

A collection of 2 posts

go

Pipelining with Go

A few days ago, a friend of mine posted a question about the Go concurrency control. The question was, "Can we assure that doSomething(0) always runs before doSomething(2)?" The answer would be, "No." We cannot determine the order in which goroutine can run at a preemption point as

  • Diko Ko
Diko Ko Jan 18, 2021 • 5 min read
go

Dependency Inversion in Go

Two years ago, some engineers in my company had a study on the book "Hands-on Dependency Injection in Go." Overall, the book was about the famous SOLID principles: Single responsibility principleOpen/closed principleLiskov substitution principleInterface segregation principleDependency inversion principleAt that time, I couldn't get the last one: the dependency inversion

  • Diko Ko
Diko Ko Nov 29, 2020 • 4 min read
Invisible Friends © 2021
Powered by Ghost