Generics Considered Harmful
От: Andrei N.Sobchuck Украина www.smalltalk.ru
Дата: 28.06.05 16:16
Оценка: 13 (2) +1 -1
Generics Considered Harmful:

Generics are a mistake.
This is not a problem based on technical disagreements. It's a fundamental language design problem.
/.../
Learning to use generified types can get very complicated. It's hard to understand why you cannot do some things without casts, for example. But writing generified classes is rocket science.
/.../
Which brings up the problem that I always cite for C++: I call it the “Nth order exception to the exception rule.” It sounds like this: “You can do x, except in case y, unless y does z, in which case you can if ...”
Humans can't track this stuff. They are always loosing which exception to what other exception applies (or doesn't) in any given case.
/.../


И т.д.
... << RSDN@Home 1.1.4 beta 7 rev. 447>>
Я ненавижу Hibernate
Автор: Andrei N.Sobchuck
Дата: 08.01.08
!
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.