Built-in types are not that special in Julia, and there is no reason to prefer them. In fact, clever punning and implied mappings to and from built-in types can look very attractive initially but can easily lead to confusing interfaces. Also, with multiple dispatch, method ambiguities.
Tamas_Papp
18
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Tuples vs Arrays – can everything be done also in Arrays? | 5 | 1702 | January 9, 2017 | |
| Why tuples are immutable? | 3 | 936 | December 3, 2023 | |
| Type inference when just making a tuple | 6 | 671 | June 2, 2024 | |
| Converting Vector to Tuple seems not optimal | 11 | 1044 | June 22, 2024 | |
| Sum of tuples are slow | 12 | 1653 | November 17, 2023 |