3 ms·
The interface version is nicer for consumers in a world where you can’t range over a function, but the function version is way easier to write, so once you can
by earthboundkid 3y ago
The interface version is nicer for consumers in a world where you can’t range over a function, but the function version is way easier to write, so once you can range over functions, the advantages of the interface versions mostly go away.