Re:Object-Oriented Programming is Bad (2016) [video]
by polarcuke on Saturday March 16, 2019 @04:09PM
(#19409938)
Ruby and Swift (and other languages I'm pretty sure) allow you to have named functions nested in functions
[ Parent
| on HN ]
Re:Object-Oriented Programming is Bad (2016) [video]
by bunderbunder on Saturday March 16, 2019 @07:28PM
(#19411090)
What the video specifically suggested was not any old nested function, it was nested functions that do not capture upvalues from their context.