News for hackers. Stuff that matters.
Re:Do-nothing scripting: the key to gradual automation by victormours on Monday July 22, 2019 @07:24AM (#20496953)
This idea is great. You could even argue that these scripts actually do something: they allow storing and updating the state of a process. By having these scripts run in a shell rather than in your head, the current state is stored in a machine, not in an unreliable human brain.
Re:Do-nothing scripting: the key to gradual automation by empath75 on Monday July 22, 2019 @07:46AM (#20497054)
also they allow you to gradually script stuff as you figure it out.
Re:Do-nothing scripting: the key to gradual automation by lioeters on Monday July 22, 2019 @08:56AM (#20497536)
That looks to be a big advantage of scripts like this, they allow the gradual automation of processes.

I realized that I've written scripts that are "executable checklists", but didn't see it as a design pattern until reading this article. Typically such a script starts out as fully manual (do this, do that next, copy here, paste there..) then I replace steps as actual code, where I can, while some steps remain manual if needed.

Great use of such checklist scripts is on-boarding collaborators or new team members in a project.

Also, as grandparent comment pointed out, they reduce cognitive load by keeping the state of a process outside the head.

Re:Do-nothing scripting: the key to gradual automation by rakoo on Monday July 22, 2019 @08:51AM (#20497491)
This should be read in conjunction with this other great article about how to gradually automate your process: https://queue.acm.org/detail.cfm?id=3197520
Re:Do-nothing scripting: the key to gradual automation by mturmon on Monday July 22, 2019 @01:18PM (#20500143)
This is a great article, providing even more context for why this stepwise automation is smart.
Re:Do-nothing scripting: the key to gradual automation by jonathanpoulter on Monday July 22, 2019 @09:21AM (#20497708)
this seems like the real magic here. The author states at the start, automating all of the steps of something can be daunting. But this script can incrementally become a do everything script.