{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

19 Scripting - Scripting Languages Scott Chapter 13(Read...

Info icon This preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Scripting Languages Scott Chapter 13 (Read all for insight, but you don’t need to know the details of all of the example languages. Exception: Perl, which we discussed earlier when talking about scope.)
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Traditional programming languages: take some input, do something with it, generate some output. Design decisions emphasize efficiency maintainability static detection of errors Type systems are usually built around hardware level concepts (primitive data types)
Image of page 2
Scripting languages: “glue languages” Contain features to interface with other languages are intended to build new programs by combining existing components web scripting server executes program to generate content of a web page. extension languages allow user to extend functionality of “scriptable” tools. Often domain specific
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Design choices made for these languages tend to emphasize flexibility rapid development local customization dynamic error detection Often interpreted rather than compiled.
Image of page 4
Both batch and interactive use Economy of expression print “go gators\n” instead of class GoGators { public static void main(String[] args) { System.out.println(“Go, Gators!\n”); } } Features often found scripting languages
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Lack of declarations and simple scope rules.
Image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}