I teach computer science to undergrads and write for The Renegade Coder. I'm most likely taking care of my daughter, watching the Penguins, or reading manga.
Location
Columbus, Ohio
Education
B.S. in CE from CWRU 2016; M.S. in CSE from OSU 2020; PhD in EED from OSU 2024
Great article Jeremy! Thanks.
Funny because I didn't know what extension methods were and instead of some voodoo thing they are just what you can achieve in Ruby with open classes:
or JavaScript extensions using prototype inheritance:
Optional chaining should be added to all languages with the concept of
nullπen.wikipedia.org/wiki/Extension_me...
"The Ruby community often describes an extension method as a kind of monkey patch." π
But yes, they can be useful.
Wow. Clearly, I havenβt played around enough with ruby or JavaScript. I really thought Kotlin was changing the game. Haha thanks for the tip!