That’s why I script freely and any point of time, day or night, but rarely code unless I *have to* (or REALLY want to do something that I can’t do any other way).
I usually consider any automation / semi-automation “programming a computer” because it is. [I don’t usually demarcate a difference between “real coders” and “script kiddies”. I’ve been both, and I prefer scripting any day for reasons I can get into with coffee.
But that truism you said is true, far less so with scripting and nearly _always_ at some point with coding : one area where the two worlds are quite different.