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

Info iconThis 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.)
Background image of page 1

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

View Full DocumentRight 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)
Background 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
Background image of page 3

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

View Full DocumentRight Arrow Icon
Design choices made for these languages tend to emphasize flexibility rapid development local customization dynamic error detection Often interpreted rather than compiled.
Background 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
Background image of page 5

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

View Full DocumentRight Arrow Icon
Lack of declarations and simple scope rules. But if variables aren’t declared, how do you know if it
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 14

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

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online