Should I choose scripting or compiled code for small tasks?

Question :

Should I choose scripting or compiled code for small tasks?,

Answer :

I’m a Java programmer, and I like my compiler, static analysis tools and unit testing frameworks as tools that help me quickly deliver robust and efficient code. The JRE is pretty much everywhere I would work, too.

Given that situation, I can’t see a reason why I would ever choose to use shell scripting, vb scripting etc, no matter how small the task is if I wear one of my other hats like my cool black sysadmin fedora.

Read More  Is there a ClientScriptManager.RegisterClientScriptInclude equivalent for CSS

I don’t wear the other hats too often, under what circumstances should I choose scripting over writing compiled code?


Whatever you think will be most efficient for you!

I had a co-worker who seemed to use a different language for every task; Perl for quick text processing, PHP for small internal web applications, .NET for our main product, cygwin for filesystem stuff. He preferred to use the technology which was most specific to the task at hand.

Personally, I find that context switching between technologies is painful. My day-to-day work is in .NET, so that’s pretty much the terms I think in. For most tasks I find it more efficient to knock something up in C# using SnippetCompiler than I would to hack around in PowerShell or a scripting environment.

Read More  Beginning TDD – Challenges? Solutions? Recommendations?

That’s the answer Should I choose scripting or compiled code for small tasks?, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you