programming language environments

6
Programming Language Environments Comparison of Languages Compilers and Interpreters Scripting Languages Module Libraries

Upload: mr-mcalpine

Post on 25-May-2015

166 views

Category:

Education


4 download

TRANSCRIPT

Programming Language Environments

Comparison of LanguagesCompilers and Interpreters

Scripting LanguagesModule Libraries

Imperative Languages

• “it is imperative you follow these steps”• Uses an Algorithm• Follows a set “program”• Inflexible, must run that way• Follows set steps• Sequence, Selection, iteration• Beginning and End Points which indicate

imperative coding• Visual Basic.

• “respond to events”• For instance, the clicking of a button, the

countdown of a timer, an input being entered by a user

• After it handles each event nothing happens until the next event

Event Driven Languages

Scripting Languages

• Javascript• Can extend the functionality of

applications by writing small sequence of actions

• Don’t need to be compiled• Simple Syntax, easy to use• Portable• Image rollovers• Content Validation• Pop Up Windows

Macro (not a fish)

• A Macro can be created to Automate certain tasks

• By simply pressing a button• Copy + Paste• All you do is record a Set of Actions that

you perform• Assign to a set of keys• … and bob is your Auntie’s Husband