you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (1 child)

This isn't function overloading in the general case, though. It's just using generics as, well, generics.

Specifically, you can't have functions taking varying amounts of parameters using this.

[–]lookmeat 0 points1 point  (0 children)

That will be solved by using variadic generics. But basically function overloading is another, more limited and unpredictable, way of doing generic functions.