Traits in Julia


#1

Recently I learned about SimpleTraits.jl by @mauro3. Are there any plans to support traits in Julia Base?

Traits are very useful!


Is there a Julian way to combine types generically or a design pattern that achieves the goal?
#2

Watch:

So, the answer is “yes, but not just now”. (Unless you implement them.)


#3

That is awesome, thanks for the link.


#4

Although mentioning Julia only once here’s a presentation that I believe may help clarifying this important yet tricky design aspect.