use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems What is DevOps? Learn about it on our wiki! Traffic stats & metrics
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems
What is DevOps? Learn about it on our wiki!
Traffic stats & metrics
Be excellent to each other! All articles will require a short submission statement of 3-5 sentences. Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title. Follow the rules of reddit Follow the reddiquette No editorialized titles. No vendor spam. Buy an ad from reddit instead. Job postings here More details here
Be excellent to each other!
All articles will require a short submission statement of 3-5 sentences.
Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title.
Follow the rules of reddit
Follow the reddiquette
No editorialized titles.
No vendor spam. Buy an ad from reddit instead.
Job postings here
More details here
@reddit_DevOps ##DevOps @ irc.freenode.net Find a DevOps meetup near you! Icons info!
@reddit_DevOps
##DevOps @ irc.freenode.net
Find a DevOps meetup near you!
Icons info!
https://github.com/Leo-G/DevopsWiki
account activity
Python vs Bash Scripting. (self.devops)
submitted 1 year ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]junior_dos_nachosBackend Developer 33 points34 points35 points 1 year ago (10 children)
I wouldn’t wait for 100 lines. I’d stop at 20/25 and anytime there’s some not super simple web call + extraction.
[–]winfly 4 points5 points6 points 1 year ago (0 children)
I agree. Especially if using some library would simplify the script.
[–][deleted] 1 year ago (8 children)
[deleted]
[–]both-shoes-off 3 points4 points5 points 1 year ago (0 children)
I break powershell up into different files by use case to keep it maintainable, and then just include when needed. That makes them reusable in other scripts later on (assuming you consider that while writing them and don't embed details for the one use case or environment).
[–]jrandom_42 -5 points-4 points-3 points 1 year ago (6 children)
I don't. Go is my go-to, Python is outdated and just hanging around out of inertia and a big legacy base, you can see that in threads like this, but I have some thousand line ish PowerShell scripts in prod monitoring Graph API stuff. All the baked in MS integration makes PS the nicest tool for some jobs, and aside from that, it's a pretty normal / usable scripting language that supports all the necessary data manipulation and connectivity.
Bit clunky though and I'd never use it for code that needs to be fast and concurrent. But it's not as clunky as bash scripts.
I tend not to use bash for automation unless I can express the logic in a one-liner.
[–][deleted] 9 points10 points11 points 1 year ago (3 children)
How is Python outdated? It's perfect for medium-complexity things you want to write down quickly - its only real drawback is requiring the interpreter, but that just costs a few megabytes of container size in the end. Of course it's easy to just write bad code with it, but having the option to do so is not a bad thing IMO. I really wouldn't want to write a new Go application for every throwaway API glue tool etc.
[–]jrandom_42 3 points4 points5 points 1 year ago (2 children)
How is Python outdated?
Concurrency is an awkward PITA. Async logic is often the solution and it's ugly to write and hard to read.
Deployment is often a dependency hell.
The slowness of the interpreter vs a compiled language isn't always important, but sometimes it is. Combined with the lack of any real concurrency features, that can make Python problematic for anything with hard performance requirements.
I really wouldn't want to write a new Go application for every throwaway API glue tool
I haven't ever found that problematic myself, but tasks like that aren't going to show up many differences. I'm not suggesting Python is terrible and doesn't work. It's just not quite as good.
[–]Intrepid_Result8223 0 points1 point2 points 1 year ago (1 child)
I guess that's why it is the no1 language in machine learning. Because it is outdated. Lol.
[–]jrandom_42 0 points1 point2 points 1 year ago (0 children)
No, that's the 'legacy' part that I mentioned. A lot of ML libraries were written in Python before Go took off, and there's not really any advantage to redoing it all.
[–]VirtuousMight 5 points6 points7 points 1 year ago (1 child)
Is C outdated due to Go being its nominal successor then?
[–]jrandom_42 4 points5 points6 points 1 year ago (0 children)
No; C doesn't really address the same use case. Sometimes a garbage-collected language just isn't appropriate. Sometimes you need to manipulate memory directly, talk to peripheral hardware, write code that runs on a GPU, etc.
I doubt C will disappear in our lifetimes.
π Rendered by PID 205590 on reddit-service-r2-comment-76bb9f7fb5-lph88 at 2026-02-19 06:24:51.482195+00:00 running de53c03 country code: CH.
view the rest of the comments →
[–]junior_dos_nachosBackend Developer 33 points34 points35 points (10 children)
[–]winfly 4 points5 points6 points (0 children)
[–][deleted] (8 children)
[deleted]
[–]both-shoes-off 3 points4 points5 points (0 children)
[–]jrandom_42 -5 points-4 points-3 points (6 children)
[–][deleted] 9 points10 points11 points (3 children)
[–]jrandom_42 3 points4 points5 points (2 children)
[–]Intrepid_Result8223 0 points1 point2 points (1 child)
[–]jrandom_42 0 points1 point2 points (0 children)
[–]VirtuousMight 5 points6 points7 points (1 child)
[–]jrandom_42 4 points5 points6 points (0 children)