Where does scripting fit in today
Asked Answered
F

5

5

I was wondering what place scripting has in today's world of IDEs and GUIs.

I'm new to programming and am wondering at what point I should, if at all, open up the PowerShell terminal for a particular task. What do people here use scripting for and how important is it to a modern developer working full time with C++/C#/Java?

Fossilize answered 18/6, 2010 at 21:2 Comment(0)
P
6

In general, you will want to write a script if you ever expect to do the task more than about twice. Making a script has the following advantages:

  • it's not dependent on human operation (humans are fallible)
  • it's repeatable
  • scripts can be stored in source control

This is well suited to tasks such as build, deployment, and automated testing.

Python answered 18/6, 2010 at 21:6 Comment(0)
G
1

IDEs and GUIs don't handle the testing or deployment parts of the development process well quite yet.

Geocentric answered 18/6, 2010 at 21:6 Comment(0)
F
1

Scripting is also great when you want to do something quickly just to see. Personally, I use my Python interpreter as a super-calculator all the time. I also use it to parse files, combined with regular expressions.

Floats answered 18/6, 2010 at 21:9 Comment(0)
D
1

Scripting is also often used to allow clients to easily extend a system's behavior. Using a script language, a compiler (or even an IDE) is not necessary.
See Extending Packages with Scripting for an example in SQL Server 2008.

Drunk answered 18/6, 2010 at 21:25 Comment(0)
C
1

Another point to add is that several servers which are highly used do not have any GUI. Everything is run from a terminal. Almost everything is run through a script. While GUIs are nice, they are not going to be used all the time.

Careless answered 18/6, 2010 at 21:26 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.