Home
Polytypic polyrythm [entries|archive|friends|userinfo]
palm_mute

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

ГЭБ [Aug. 13th, 2007|02:38 pm]
[Tags|, ]

Одолел за время отпуска "Гориллы, эму, бабуины - эти буйные гости" Д.Хофштадтера. Сумбурные впечатления )
Link5 comments|Leave a comment

PLAI [Mar. 20th, 2007|12:22 pm]
[Tags|, , ]

Нашел в сети книгу о языках программирования (бесплатную, кстати):
Programming Languages: Application and Interpretation by Shriram Krishnamurthi

На первой же странице автор выдвигает идею о второстепенности синтаксиса и приводит такой пример:

For instance, consider the following three code fragments:

1. a [25] + 5
2. (+ (vector-ref a 25) 5)
3. a [25] + 5

Which of these two is most like each other? The first and second, obviously! Why? Because the first is in Java and the second is in Scheme, both of which signal an error if the vector associated with a has fewer than 25 entries; the third, in C, blithely ignores the vector’s size, leading to unspecified behavior, even though its syntax is exactly the same as that of the Java code.


Книга мне уже определенно нравится :).
Link33 comments|Leave a comment

navigation
[ viewing | most recent entries ]