|
|
От: |
eao197
|
http://eao197.blogspot.com |
| Дата: | 12.10.06 14:24 | ||
| Оценка: | 16 (2) | ||
C++ is statically typed. Programmers inform their compiler about the types they are using. In return the compiler warns them of any type abuse it detects. Static typing doesn't cure all known defects, of course. On occasion, a defect which appears type-related can slip through the type system undetected. This article tells the true story of two such defects. It discusses how they might have been avoided and concludes with some more general advice.