|
|
От: | _vovin | http://www.pragmatic-architect.com |
| Дата: | 23.05.05 12:51 | ||
| Оценка: | |||
>С помощью Scala мы хотели бы проверить две гипотезы. Во-первых, мы считаем, что язык программирования компонентного ПО должен быть масштабируемым в том смысле, что должна быть возможность с помощью одних и тех же концепций описать как маленькие, так и большие части.
Scala uses a pure object-oriented model similar to
Smalltalk’s: Every value is an object and every operation
is a message send.
Another aspect of Scala’s unified object model is that every
operation is a message send, that is, the invocation of
a method. For instance the addition x + y is interpreted as
x.+(y), i.e. the invocation of the method + with x as the
receiver object and y as the method argument. This idea,
which has been applied originally in Smalltalk, is adapted
to the more conventional syntax of Scala as follows.
From Smalltalk [17] comes the concept of a uniform
object model.