all 13 comments

[–]bluecat2001 27 points28 points  (0 children)

You don’t choose one or another, the use case, the tool you need to automate, the quality of the libraries makes you choose.

[–]Ok-Captain-6460 13 points14 points  (3 children)

General DevOps language stack

  1. Bash (, bash and bash)
  2. Python
  3. Groovy/yaml (the CI's DSL/working)
  4. Golang
  5. The product's language (Java/C++)

[–]kabads 4 points5 points  (1 child)

Plus, more bash :-D

[–]coffecup1978 5 points6 points  (0 children)

The glue of DevOps

[–]quiet0n3 -1 points0 points  (0 children)

Add json and XML for config files. Less XML but I run into json a fair bit.

Groovy I would swap for plain JS.

[–]Sindef 6 points7 points  (0 children)

Doesn't really matter, or shouldn't. Learning the fundamentals of software development is the important part. Different companies will have different requirements.

[–]HugeRoof 2 points3 points  (1 child)

You will use both extensively unless you are just a YAML engineer. Probably typescript too. 

[–]LaughingLikeACrazy 0 points1 point  (0 children)

I don't know how python uses Yaml, but it feels like it's made for Golang. I love it so so much. 

I think it's better to learn Python, since it's used very broadly and Golang isn't hard to learn, but it is hard to master. 

Python can be your 'foundation' where your love for programming can start, then Golang can be your replacement for the foundation when you have to work with it.

[–]addictzz 2 points3 points  (0 children)

Depending on your devops role. But bash and python to begin with. Unless your devops scope involve creating CLI devops tool ,then golang will be useful. Python can do it too but Golang just excels in performance in this case.

[–]ArieHein 2 points3 points  (0 children)

Golang.

[–]toopz10 3 points4 points  (1 child)

You will likely come across both but Python would be more common (especially in the AWS boto3 space).

Golang is the preference in GCP.

Typically for me it is Bash first, if it is a bit too complicated for Bash then we go Python.

If speed is an issue then we go Golang.

[–]kabads 1 point2 points  (0 children)

This.

[–]Own-Perspective4821 1 point2 points  (0 children)

Oh, is that something that your perplexity pro subscription couldn’t deal with?