Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

On Objective-C and Faggots

Name: Anonymous 2009-11-22 11:45

So this faggot iPhone developer has been bitching to me about how C++ is a shitty language and how Objective-C is the greatest thing on the planet. How can I get back at him?

Name: Anonymous 2009-11-22 19:52

>>10
To expand on this, look how fucking complex the rules on exceptions and autorelease pools are:

http://chanson.livejournal.com/126035.html

At first glance, this looks fine. After all, if -doSomething throws an exception, the autorelease pool will still be cleaned up when the next autorelease pool "out" in scope is released. However, this could actually happen before the exception is delivered — by the release of an outer autorelease pool in a @finally block — meaning the exception would be a zombie on delivery!

Fucking fantastic. Freeing an exception before it's even caught; well done Obj-C.

Newer Posts