Remix.run Logo
(Ab)Using Overload Sets to Create Ad-Hoc Template APIs in D(blog.dlang.org)
14 points by WalterBright 3 days ago | 2 comments
Kapendev 3 days ago | parent | next [-]

Very interesting post. How can I use that for web development? My senior told me to ask this question.

WalterBright 3 days ago | parent | prev [-]

“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.