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

GP specifically mentioned multimethods and your comment is completely wrong when they're taken in account.

They would allow `ToString(attr)` to have one implementation per type, and `CompareTo(item1, item2)` to have one implementation per `(typeof item1, typeof item2)` pair. The latter being unavailable in Go, and only statically available in languages with overloading.




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

Search: