programming language environments
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.
Declarative Languages
• “oh Mr Haggarty, I do declare!”• Declare all the facts and rules to go
along with the problem• Logic Languages• Describe rules and relationships to link
the data• Prolog
• “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