[BitSquid co-founder Niklas Frykholm discusses how programmers should use scripts more often for repetitive tasks, and gives examples of how to get started, in this #altdevblogaday-reprinted opinion piece.]
I’m a programmer. I don’t do repetitive tasks. My computer does them for me.
I make a conscious effort to use scripts more. Before I start banging away on the keyboard on some repetitive or not very creative task, I stop for a second and ask myself: would it make sense to write a script for this? Mostly the answer is yes.
I’m thinking of things like:
- Generating chm and pdf documentation
- Setting up a new build machine
- Counting the number of lines of source code
- Updating a web page
- Making a DLC package
- Doing the taxes
- Etc