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

But that's exactly what Swift does: it narrows the types. To do that, it uses a separate construct that only exists to make the parser ever so slightly simpler.


Yes and I think having a separate construct rather than using another one and imbibing it with new meaning is more elegant




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

Search: