3 ms·
One of my favorite bad analogies is mixins. I came up with this Mixin FAQ to satirize how mixins are often explained. Mixin FAQ Q: What is a mixin? A: Mixin
by avodonosov 5y ago
One of my favorite bad analogies is mixins. I came up with this Mixin FAQ to satirize how mixins are often explained.
Mixin FAQ
Q: What is a mixin?
A: Mixin allows to inject functionality into classes. Mixins first appeared in the Flawors system and were inspired by an ice cream shop offering a basic flavor of ice cream (vanilla, chocolate, etc.) with a choice of optional "mix-in" ingredients like nuts, cookies, candies, etc.
Q: Can I mix-in a ServerSocket into a ColorPicker?
A: Yes, why not.
Q: How will it work?
A: Like ice cream with cookies.
- scotty79 5y agohttps://shoppe24.ph/products/oreo-ice-cream-tub-450ml https://shoppe24.ph/products/oreo-ice-cream-tub-450ml You were saying? I can confirm it doesn't work. But for me Oreo barely works as a cookie.
- avodonosov 5y agohttps://en.wikipedia.org/wiki/Mixin#History https://en.wikipedia.org/wiki/Mixin#History