Structural versus algorithmic aspects of languages

Structural versus algorithmic aspects of languages - Module...

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

View Full Document Right Arrow Icon
Module 1 part 1. Structural versus algorithmic aspects of languages Here are two major aspects of a progamming language: (1) the algorithmic or procedural aspect. (2) the structural or organizational aspect. You can make an analogy to a cookbook. Each recipe is a sequence of instructions to carry out in order to cook something. This is the algorithmic aspect. The recipes may be organized in chapters —appetizers, entrees, desserts, breads, etc. Each chapter may be further subdivided into sections. This is the organizational aspect. In a programming language, the algorithmic aspect has to do essentially with sequences of assignment statements, conditional statements, loops, and procedure/function calls. When programming languages were first invented —starting in the 1950s with Fortran and moving on to Algol, Lisp, and Cobol about 1960— the major organizational tool was the subroutine (known today as the function, procedure, or method), which corresponds to a recipe in a cookbook. To add more function to a program, one added more subroutines, each of which did its own thing. This rather flat structure did not and does
Background image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 2

Structural versus algorithmic aspects of languages - Module...

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

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