Crell / enum-comparison

A comparison of enumerations and similar features in different languages
82 stars 7 forks source link

Traits #48

Closed Crell closed 3 years ago

Crell commented 3 years ago

WTF, traits. :smile:

How easy is it to only allow traits that have no properties? We want to avoid those becoming a back-door way to introduce state.

iluuu1994 commented 3 years ago

I got that on my radar 🙂

iluuu1994 commented 3 years ago

We've specified this in the RFC.