2 ms·
> If you need that you definitely have buggy abstractions, but then we always do. Not quite, or at least not always. D embraces something called design by intr
by mhh__ 5y ago
> If you need that you definitely have buggy abstractions, but then we always do.
Not quite, or at least not always. D embraces something called design by introspection - that basically means adapting behaviour at compile time based on what a parameter can do rather than what a parameter should do (in the case of a template). This allows you to write extremely expressive (and fast) code, however you do at this point need to test at a more granular level.
https://www.youtube.com/watch?v=HdzwvY8Mo-w https://www.youtube.com/watch?v=HdzwvY8Mo-w