|
-
May 18th, 2012, 09:37 PM
#1
Best way to automate some of my programming?
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.
-
May 19th, 2012, 03:44 AM
#2
Re: Best way to automate some of my programming?
If you have to do such repetitive tasks it is often a sign of a bad software design.
But without further details it's hard to tell.
Of course you could use a scripting language such as Python to generate your code, I did this too.
-
May 19th, 2012, 07:08 AM
#3
Re: Best way to automate some of my programming?
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.
Huh ? Don't really understand what you are doing...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|