OO is yesterday's news.
Posted Mar 30, 2005 9:51 UTC (Wed) by
khim (subscriber, #9252)
In reply to:
OO is yesterday's news. by ncm
Parent article:
Evidence that Python is advancing into the enterprise (NewsForge)
Give me an ML with destructors and restricted pointers, and I will move the world!
Hmm. Is it good idea to ask for impossible before you'll do something ? Any language with destructors is inherently unsafe - and this is not a case of "noone did it yet" but a case of "it's mathematically proven to be impossible". Sorry, but you are out of luck.
It's possible to introduce some forms of "limited destructors" which will be called in some cases but in other cases stuff will be discarded silently, but in the end it only makes programming more cumbersome and error-prone. Python, Java and C# all have GC and no destructors - and this is good thing(tm): this means they have at least a chance.
(
Log in to post comments)