2 ms·
> What do you mean by "mix and matching"? A bit of a contrived example, but think of multiple inheritance but dynamically. > maybe there's a concrete thing yo
by raverbashing 3y ago
> What do you mean by "mix and matching"?
A bit of a contrived example, but think of multiple inheritance but dynamically.
> maybe there's a concrete thing you're thinking of here
Genetic programming would be the main use case of this (of table dispatch, not the "mix and match thing", which ok, is a bit of a corner case
> I've never been more convinced that it is best to make code as statically legible as possible
Given how the average academic code is, I don't think I can disagree with you much
And I think it's also a question of syntax. For those kinds of things a lambda might be more readable, but a typed lambda is still a lambda.