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

> Now if only Go was consistent about methods vs functions

Generics can only be on function and not methods because of it's type system. So don't hold your breath and modifying this would be a breaking change.



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

Search: