(Ab)Using Overload Sets to Create Ad-Hoc Template APIs in D (blog.dlang.org) 14 points by WalterBright 1mo ago ↗ HN
[–] WalterBright 1mo ago ↗ “Overload set” is a term of art that seemingly arises from the reuse of overload rules across the years. Overload sets quietly power a lot of D’s generic programming, and once you understand them explicitly, a whole class of API design opens up.
[–] Kapendev 1mo ago ↗ Very interesting post. How can I use that for web development? My senior told me to ask this question.
2 comments
[ 0.23 ms ] story [ 7.3 ms ] thread