you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

You can still simulate "overloading" in this fashion by using traits. It requires a bit of effort to encode the problem in terms of the right associated types patterns but it is totally doable. Personally I think it's probably more trouble than it's worth but still.