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

In Go, the magic right now is actually in special-cased types like map. Generics actually have the potential to reduce the amount of magic as it exists currently.

The design can go badly wrong, of course, but it can also go wonderfully right. Generics are a very important feature to consider for the language.

I have no opinion on exceptions with regard to Go specifically. I think they serve a good purpose in other languages but are often misused.



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

Search: