|
|
Obiekty, interfejsy i obsługa pamięci w Delphi - ki czort? |
|
Eee... jeszcze nie przetłumaczyłem...
Sprawdź wersję angielską.
Góra
|
Komentarze |
#1
AgoraC
napisał(a) dnia
2014-08-23 19:24:57
|
\"And too bad! I really like the idea of interfaces as contracts. But just contracts, nothing else! Why oh why, did they mix that up with memory management? Or, at the very least, why hadn\'t they introduced COM interfaces and interface contracts as separate constructs? \"
I second that opinion...!!
The worst thing about Delphi. Really annoying
|
#2
Holden
napisał(a) dnia
2017-01-11 07:32:41
|
A very good demonstration of Delphi interface problems. I have hunted a mysterious bug for a week, until I have found Your article. It was a revelation to see that other people already encountered the same problem I struggled. Then from Your work it became clear that interfaces are very dangerous things and really annoying bugs may come on using them. But books and Embarcadero do not speak a word from this danger! They introduce interfaces as a good memory management tool but later after a hard bug hunting You realize that You were fooled! And this is very disappointing. And I really hate them who disclaim that garbage collection is unnecessary in Delphi or in Free Pascal. NO! It is the most important thing that would be made in the first place.
|
|
Góra |
|
Góra
|
|
|