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

Maybe? Generics were the most egregious absence, since it's challenging to express some constructs in a static language without them. Nullable types are another issue that other modern languages (e.g., C# and TypeScript) are trying to solve, but we it's a difficult issue to tackle when nil is already pervasive in the language.

I think generics are a great addition to the language, and I'd love to see sum types (which would allow Option to circumvent nullable types), but I think that's much less likely.



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

Search: