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

Its actually a good question on who needs generics. It makes code unreadable and was never really useful in commercial products.


Try writing Go without generics. No typed maps, arrays, slices, channels or function types. Only `interface{}`. Go always had generics, you just weren’t allowed to write your own until recently.




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

Search: