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.

  • iusemybrain@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    3 hours ago

    The intention of C++ was to be C’s replacement by adding objects into the programming language while also maintaining the fast compilation and runtime that came with C. In the end it resulted in longer compilation and runtime times (from the millisecond scale to seconds scale), which made it generally unappealing for embedded systems.

    On a production code standpoint, if were comparing it to something like python, it is debatable, but there’s just a large learning curve associated with the language that could otherwise be avoided with a different OOP language. By trying to accomplish everything, it fails to implement everything well to compete with other languages.