Programming Language Environments Comparison of Languages Compilers and Interpreters Scripting Languages Module 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
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

Programming language environments

  • 1.
    Programming Language EnvironmentsComparison of Languages Compilers and Interpreters Scripting Languages Module Libraries
  • 2.
    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.
  • 3.
    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
  • 4.
    “ respond toevents” 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
  • 5.
    Scripting Languages JavascriptCan 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
  • 6.
    Macro (not afish) 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