3 ms·
Sure, traits talk about functions, not properties/ strict fields, so you need to provide trivial getters if you want to abstract over properties. True, but not
by Tyr42 5y ago
Sure, traits talk about functions, not properties/ strict fields, so you need to provide trivial getters if you want to abstract over properties.
True, but not that interesting?
Sure we could have some Ruby :get_attrs magic or whatever.