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

What happens if you want two different types of set? As-imports? (I've looked at Go, but not written in it.)




But then I'm right back to having types named "IntSet" and "StringSet". Though at least they're not using copy/paste code implementations.


Well, they are using copy and paste, it's just automated.

But is Set<int> really better than IntSet? Don't they carry the same information?




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

Search: