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 | 7941 | August 14, 2017 | |
| Why did Julia choose nominal typing over structural typing/traits? | 29 | 1936 | November 16, 2024 | |
| Interfaces/traits in julia 2.0 and multiple inheritance | 37 | 3217 | May 7, 2025 | |
| Announcing Traits.jl - a revival of Julia traits | 21 | 9328 | April 11, 2020 | |
| Is Julia's way of OOP superior to C++/Python? Why Julia doesn't use class-based OOP? | 146 | 33881 | October 11, 2021 |