Links 18-05-13
Dev
Microservices: A quick and simple definition – Curious about microservices? This overview is for you. It covers some of the basics of microservices: what they are, how they work, and what you need to keep in mind before implementing them.
A (crazy?) approach to unit testing in Go – If there’s one thing Andy Goldstein really dislikes about writing unit tests, especially in Go, is that they’re typically a pain to write. He often finds it even harder to modify an existing unit test when he needs to change the behavior of some function. So here’s a crazy idea.
Knapsack problem algorithms for my real-life carry-on knapsack – explanation of two common approaches to solving the knapsack problem.
Nine Steps of Learning by Refactoring – suggests a few steps to make the code clean, especially if the code is not yours.
Ops
- Google open-sourcing gVisor, a sandboxed container runtime. GitHub repository.
Misc
Example Manager READMEs – from managers at Slack, Spotify, HubSpot, and more.
Code poem – Code can be used like any spoken language. Even poetically.