3 ms·
Isn’t the trait system exactly the way out of this tar pit?
by fire_lake 2y ago
Isn’t the trait system exactly the way out of this tar pit?
- fidotron 2y agoObviously that is the intention, but the absence of libraries that manage to replicate what people manage fairly easily in other paradigms does show it's not sufficient. golang is similar in this regard - it has interfaces and you can compose type structs, but the results become an unwieldy mess unless the developers are staggeringly disciplined, in which case they'll have a better time in something else anyway.