News for hackers. Stuff that matters.
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
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.
Re:Object-Oriented Programming is Bad (2016) [video] by totony on Sunday March 17, 2019 @11:04AM (#19414367)
PHP has those (e.g. function() use ($var) { })