Hey, if it ends up saving time and stress after those two days it was worthwhile.
it wont, it’s just more enjoyable to automate a task than to do it manually
There’s something really satisfying about running a script that you know would save time. Even if the overall time is probably a negative.
I wrote a script that would log me into our AWS EKS stuff. I typically would have to copy these 7 lines and look up which cluster version I’d need. One of my lines just pulls all the clusters and I use fzf to select the cluster I wanted. Takes away all the pain and makes me feel smug. Love it.
Automation also cuts down on mistakes.
Or greatly amplifies them if you coded it wrong.
The exception is if it’s open source and can save thousands of people two seconds.
Doesn’t even have to be the case. A 2min task done every (work)day, takes up a bit over 7 hours/year. After 2½ years it will be a benefit to have automated it!
Only if the requirements stay the same for 2.5 years. Otherwise there’s probably another week of time trying to update the initial work, then just throwing it away and making a new solution that’s theoretically easier to update.
If changing requirements mean you need to update the script, then updating the script is part of your job. QED. I don’t see the problem with a little job security.
Yeah, and you build skills and reusable code base that’ll be useful for automating/ simplifying future tasks 😎
Some years of this, you get to the point where you can solve damn near everything quickly and people think you’re some magical shit-wizard
you get to the point where you can solve damn near everything quickly and people think you’re some magical shit-wizard
This is basically my work life, and its almost a problem because I’m the first guy people call when they need something done.
The perils of being competent. /s
And if it’s a task that will need to be done thousands of times a month or even year, you should thank them for it.