I understand and like the prototype-based inheritance of JS or Lua (unlike most programmers, it seems). That said, a class construct is better at signaling intent. You don't have to look at a function and go, "oh, this is meant to act as a constructor".

Sign in to participate in the conversation
Elekk: Gameing and Other Delightful Pursuits

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!