Ok, so now I am feeling like my learning curve is going from theoretical part to practical part. On day-6, I figured out why a programming language is needed for DevOps.
Why is programming needed in DevOps?๐คทโโ๏ธ
As you know, in DevOps we mostly use tools for automated tests, for deployment, for monitoring, and so on. But most of the tools are designed and built in either Python or Go. So if you have essential programming knowledge, you can understand how those tools are working. Also, understand what improvements are needed in the process.
One reason was that now let's move to another one. Suppose you and your developer team are working on a project and you are explaining to them how to automate the workflow. But the problem here is that you don't know any programming languages, so you won't be able to make them relate to the workflow. So in this case, you should have a better understanding of any Python or Go language.
Mostly, it is a project's demand for which language to choose for DevOps. However, most people are currently learning the GO programming language for Devops. When working on Kubernetes-related projects, Go is useful, and Python is useful when working on automation projects such as CI/CD. But that doesn't mean that you have to learn two of them. Just choose any one language.
Why Go? ๐
Both languages have their own use cases, so I don't want to start a comparison war. Currently, "Go" is a very popular term in the DevOps world. Go is currently trending fourth in most wanted scripting and markup languages, according to a recent Stackoverflow Survey
Few imp features of GO ๐ชถ
- It is easy and well-written.
- Useful attributes like memory allocation, garbage collection, concurrency.
- It adopts best characteristics of functional programming.
- Error handling.
- Large community.
Resources ๐
End credits๐
So that's all for today. I will start the basics of GO from tomorrow, so stay tuned.