Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.

    • danhab99@programming.devOP
      link
      fedilink
      arrow-up
      1
      ·
      4 hours ago

      Waaaooww what a position

      I’d want to disagree bc I know Nix and that feels declarative to me where as html just feels like actual drawing, like there’s no conditional or iteration therefore how are you transforming information? HTML is a markup bc you need to render a UI and you don’t know anything about the screen or keyboard&mouse so cope

    • Euphoma@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      3 hours ago

      imo you need to be able to execute an algorithm for it to be a programming language. not necessarily turing complete but html cant really execute stuff. if you include css as part of html, then it would be turing complete then. TeX is turing complete so it is a programming language.