Showed @stjepang the 6 or so ways to do inheritance in JavaScript w/o traits, and his look of disbelief was priceless.
For reference: prototypes, class extends, util inherits (multi inheritance), object initializers ({read} in streams), Symbols (e.g. iterators), methods (then).
-
-
Rust's traits are pretty great in comparison. Bit more boilerplate usually, but that seems solvable.
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.