4 ms·
I have used them in another language and in practise, itsnt really a useful feature. Say you implement a fixed point type or a matrix, more often than not you e
by planetis 6y ago
I have used them in another language and in practise, itsnt really a useful feature. Say you implement a fixed point type or a matrix, more often than not you end up needing arithmetic ops between different "resolutions" or matrix dimensions. That blows both how many generic functions you write and the generic instatiations. In the end you are better of with moving the parameters in runtime.
- humanafterall 6y agoI think you can get the benefits of type safety while still using type inference or macros to avoid type impl explosion