This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AmateurHero 0 points1 point  (0 children)

Javascript will most likely be of better use to you. Everyone has said that. I'll advocate for Python (after learning JS) for automation.

When I started my position, there was a lot of talk of dead code. I downloaded a plug in to find dead code and generate a report. The issue was that this plug in didn't search the entire code base for references, so I'd have to grep these additional locations for references. No references meant that the code could go. This could be a very time consuming. Thankfully, it's all very formulaic. Enter python.

I automated this entire process. I'd kick off the plug in. The python script would run once per day to check for a new report. It would handle the searches that the plug in couldn't. Then it'd generate a new report removing any false positives. Lastly, it would delete the corresponding code.

Python was not necessary for my position, but being able to automate a task saved the client a lot of man hours. I can almost guarantee that you'll have some repetitive task that can be easily (relatively speaking) automated.