Today I learned How to retry like a boss. And the good part – K8s already did it for you. Simple code that allows you to run fn and retry over and over until a certain condition occurs. let’s say you want to poll for your remote service and sometimes this poll call fails: it…
Tag: Go
Posts about Go language syntax, best practices and useful external packages
What is Protobuf and why use it
Today I learned what is protobufs. “Protocol Buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data”. Or, in human language, it is a set of rules of what data of a certain kind looks like. In many languages, there are primitive data types such as int32, string, boolean, array (often called as list…
Go Language
Today I learned Go. Sound too simple? it actually is! Go was first presented in 2014, pretty new compared to the other popular programming languages like Python (first release in 1991, v3.0 in 2008), C (1972), C++ (1985), and java (1995). The main reason was to create a programming language that will be as easy…