I'm wondering if there is a way to automate some of the programming I do. I'm somewhat of a newbie at programming, so not really sure where to start, but at my work, there are times where I'll have to write some code that seems like it could be somewhat automated.

For instance, when I create a new variable, there are three lines of code I have to add to the same place in the same three files. I'm wondering if I could have something that sorta runs on top as a front end and I simply tell it to add a variable called 'temp', and then it will automatically write in the code in those three specific places.