Programming Languages - Design - Implementation
Programming Languages - Design - Implementation
LANGUAGES – DESIGN
& IMPLEMENTATION
PREPARED BY:
ORLANDO C. CABILLOS
INSTRUCTOR
ORGANIZATION OF PROGRAMMING
LANGUAGES
• Understand most appropriate language for solving specific problems, For example:
• Pascal, C -- procedural, statement oriented
• C++, Java, Smalltalk -- Object oriented
• ML, Lisp -- Functional
• Prolog -- Rule-based
Language Goals
• During 1950s--1960s - Compile programs to execute efficiently.
• There is a direct connection between language features and hardware - integers, reals, goto
statements
• Programmers cheap; Machines expensive; Keep the machine busy
• But today
• Compile programs that are built efficiently
• CPU power and memory very cheap
• Direct connection between language features and design concepts - encapsulation, records,
inheritance, functionality, assertions
Why study programming languages?
• To improve your ability to develop effective
algorithms
• Improper use of recursion
• Object-oriented programming, logic programming, concurrent programming
• Object-oriented languages
• Imperative languages that merge applicative design with
imperative statements (Java, C++, Smalltalk)
• Syntax: Set of objects (classes) containing data
(imperative concepts) and methods (applicative
concepts)
The end!