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

What would you need those for? For checking exhaustive type switches? Seems like an extra keyword on "interface" would do the trick.


Is this comment meant for this article? I can't for the life of me grok what you mean!


Guessing it was meant to go on https://news.ycombinator.com/item?id=30205232 ? No idea how it ended up here


Completely true. How it got here, no idea.


We'll move it. Thanks!




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

Search: