Definitely, but I think implementing a nice trait system first would be substantially easier. Rewriting Base to take advantage of it everywhere would definitely be breaking and would also be a lot harder. I’d save it for whenever there’s more resources and a desire for a 2.0 release.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Why does Julia not support multiple traits? | 44 | 7870 | August 14, 2017 | |
| Announcing Traits.jl - a revival of Julia traits | 21 | 9274 | April 11, 2020 | |
| Providing traits, apis, generics, qualities, prototypes, | 11 | 2061 | November 29, 2016 | |
| Why did Julia choose nominal typing over structural typing/traits? | 29 | 1849 | November 16, 2024 | |
| Traits and `where` syntax | 8 | 1964 | December 18, 2016 |