Re:Julia's multiple dispatch explained with Pokemons
by dTal on Wednesday July 21, 2021 @02:09PM
(#27909862)
The promise of multiple dispatch is that it allows every library to be generic. One author writes a library that calculates $COMPLICATEDTHING; another author writes a library that implements a new type of number, such as ranges; provided the second library defines all the methods that the first uses, then, magically, they work together and you can calculate $COMPLICATEDTHING on ranges! That is the thing that Julia does that nothing else does.
[ Parent
| on HN ]
There are no comments on this comment yet.