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.

you are viewing a single comment's thread
view the rest of the comments
[–] 13 points 5 days ago (6 children)

HTML/TeX/etc are real programming languages that just happen to be declarative as opposed to imperative.

  • source
  • hideshow 6 child comments
  • [–] [S] 4 points 5 days 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

  • source
  • parent
  • [–] 1 point 5 days ago (3 children)

    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.

  • source
  • parent
  • hideshow 3 child comments