Hacker News new | past | comments | ask | show | jobs | submit login

> Go's position is, if not wrong, at least loosing, since programmers demonstrably are using work-arounds (`interface {}`) when they need generics.

I just got through telling you that this type of use is actively discouraged, so no, people aren't using it as often as you might think.

If you want generics, you've got to pay for it. The implementation you've suggested requires a runtime performance penalty to use generics. Therefore, you have not demonstrated that generics are free.




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

Search: