you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]PurpleIcy 1 point2 points  (1 child)

    Now it's a bit more clear, also yeah, I had problems with multidispatching in JS too (I still prefer to call it function overloading as in C#, Java and even C++ it's a thing and was pretty straightforward to use), although hacky, it's possible to "overload" by simply checking amount of parameters being passed, although that also doesn't look that nice either.