News for hackers. Stuff that matters.
Re:Gnirehtet rewritten in Rust by Tarean on Monday September 25, 2017 @05:57AM (#15329134)
Well, technically traits dispatch based on type and not on value. As long as you aren't wrapping everything into trait objects that is much closer to functional programming. Seems like a mostly semantical difference, though.

I guess there is a philosophical difference in whether you pass a large struct into a function or select the needed data at the call side and only pass that, though. Former might be easier to extend, latter is probably easier to test?

There are no comments on this comment yet.