News for hackers. Stuff that matters.
Re:Responsible Monkeypatching in Ruby by eloisius on Friday August 27, 2021 @11:21AM (#28328984)
Not bad! I also feel like it’s worth mentioning that in rust you can extend primitive types with traits. I’ve done that to add some bit-munging helpers while working on a toy Game Boy emulator to make it easier to deal with 16- and 8-bit register values like (8, 8).join() and (l, h) = 16.split().

There are no comments on this comment yet.