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

I strongly agree with this. I'll also note that "enums" solves for nil (universal or otherwise).

> I have a feeling generics will be used for all sorts of situations that could be better handled with interfaces.

Very much agree. I'll also extend "interfaces" to include closures.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: