Lately my approach to dev is “I don’t care about your language feautures, I’m going to treat it like lua and just stuff objects with data and write bare functions to process them”
Unless I need to engineer something complex, everything is dict[any:any].
Man, I love lua, but after switching to a different job on typescript I feel like lua could only benefit with a similar type system.
So many bugs avoided just because I know for a fact what a function returns and expects.
Lately my approach to dev is “I don’t care about your language feautures, I’m going to treat it like lua and just stuff objects with data and write bare functions to process them”
Unless I need to engineer something complex, everything is dict[any:any].
Man, I love lua, but after switching to a different job on typescript I feel like lua could only benefit with a similar type system. So many bugs avoided just because I know for a fact what a function returns and expects.