25 November 2016

Sending this to my future self should be enough to prevent it from being a problem, right? right? right to left! (major base class to the right)

https://www.ianlewis.org/en/mixins-and-python

well, and then there’s javascript…(as usual, oh dear…)

http://justinfagnani.com/2015/12/21/real-mixins-with-javascript-classes/

maybe c++ is still best for this…
the others are kindas?
since java has default methods
c# has extension methods
ruby is a kinda (holy fun with self modifying code batman! remember, mixins are on instances, monkey patching is on classes))



blog comments powered by Disqus