programming_paradigms

programming_paradigms - Programming Paradigms Programming...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Abdelghani Bellaachia, Advanced Software Paradigms Page: 1 Programming Paradigms ª Programming languages A Programming language is a notational system for describing tasks/computations in a machine and human readable form. Most computer languages are designed to facilitate certain operations and not others: numerical computation, or text manipulation, or I/O. More broadly, a computer language typically embodies a particular programming paradigm . ª Characteristics of a programming language: Every language has syntax and semantics: Syntax : The syntax of a program is the form of its declarations, expressions, statements and program units. Semantic : The semantic of a program is concerned with the meaning of its program.
Background image of page 1

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

View Full DocumentRight Arrow Icon
Abdelghani Bellaachia, Advanced Software Paradigms Page: 2 ª Which programming language? Since a task can be solved in different ways (paradigms), the language used to describe the solution differs in abstractions, structures due to the way in which the problem is solved. There is no theory that dictates the best paradigm to solve a particular problem. Efforts by Sebesta in his Concepts of Programming Languages book: He based his evaluation criteria on three factors and 9 characteristics. The three criteria (R,W,R) are: ± Readability ± Writability ± Reliability
Background image of page 2
Abdelghani Bellaachia, Advanced Software Paradigms Page: 3 The nine characteristics are: ± Simpilicity/orthogonality (R,W,R): “Orthogonality in a programming language means that a relatively small set of primitive constructs can be combined in a relatively small number of ways to build the control and data structures of the language” [Sebesta] Relatively small set of primitive constructions combined in a number (of logically consistent) ways to provide the required control and data structures.
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 11

programming_paradigms - Programming Paradigms Programming...

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

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