Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> But that's not semantically meaningful Swift code in any normal context, nor is it idiomatic. `self` is equivalent to `this` in C++, and is never normally null.

It is, when `self` is captured weakly in a closure, and that closure is outliving the instance.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: