• wise_pancake@lemmy.ca
    link
    fedilink
    arrow-up
    9
    arrow-down
    17
    ·
    edit-2
    4 个月前

    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].

    • GTG3000@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      4 个月前

      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.