Skip Navigation
🔥 Discussion 🔥 ES6 Classes. Good or Evil?
  • It's not the best, but people demonize it too much in my opinion. I would say to just use them and see if they work for your use case.

    I hear a lot of "just use functions / objects" but for some things (IE, game dev) classes are objectively better in my opinion (it makes more logical sense to do "objects.push(new Car())" than to do it with functions or objects in my opinion, possibly a hot take)

  • InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)BI
    BiggestBulb @lemmy.fmhy.ml
    Posts 0
    Comments 1