пятница, 14 октября 2011 г.

Структурное программирование

One of the most powerful mechanisms for
program structuring [...] is the block and
procedure concept. [...]
A procedure which is capable of giving rise to
block instances which survive its call will be
known as a class; and the instances will be
known as objects of that class. [...]
A call of a class generates a new object of that

Ole-Johan Dahl and C A R Hoare
"Hierarchical Program Structures" in Structured Programming

А я думал, что "структурное программирование" - это goto.

Рекомендую посмотреть интересную презентацию "It Is Possible to Do Object-Oriented Programming in Java".

Комментариев нет:

Отправить комментарий