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.

  • ColdWater@lemmy.ca
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    edit-2
    15 hours ago

    Not a programmer, but I hate softwares that use python, why the fuck it requires 10 million dependencies to function?

      • ColdWater@lemmy.ca
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        6 hours ago

        I know, most normal softwares requires 3 or 15 on some bloated softwares, but the simplest python softwares requires at least 10 or 20 on the bigger one and I’ve seen some go up to 40 (maybe perl too but no one use it nowadays so I don’t count it)

        • capital5@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          2 hours ago

          Yeah, I reflected on your comment for a bit and I can see what you’re saying. All software uses dependencies, but how they are shipped is different for a lot of languages. If we take an extreme example, Go has a lot of the same microdependencies that Python, JS, etc. have, (probably a lot more than Python even), but since programs are usually compiled into a standalone binary, you never think about them as a user. Interpreted languages on the other hand tend to not do this because they’re not compiled, and when you’re installing a dependency, you’re often installing the source code itself, rather than a shared library or .jar like you would in C++ or Java.

          A lot of people do complain about virtual environments though, and while I don’t personally have a problem with them, I do wonder why nobody uses bundlers in Python. It seems that something like this already exists, but it doesn’t seem to be widely adopted or used for all the complaints I hear about virtual environments and such.

    • iocase@lemmy.zip
      link
      fedilink
      arrow-up
      10
      ·
      14 hours ago

      And any python project older than 8 months has a multitude of shit that breaks or deprecates. It feels like trying to reassemble Tony Stark’s arc reactor any time I need to get an old python project functioning

      • Equinox1289@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        14 hours ago

        I hate the whole deal with it’s lack of real private variables and having to rely on virtual environments. Poetry helps, but it can’t fix some of the underlying issues. Also the dynamic typing is annoying.

        • iocase@lemmy.zip
          link
          fedilink
          arrow-up
          3
          ·
          13 hours ago

          It’s funny how any dynamically typed language inevitably reverts back to static typing to manage chaos.

          Poetry is the best of the bunch but that’s also a massive contributing factor to Python’s chaos. There are like 6 competing ways to set a python project up and despite having all 6 installed on your machine at all times, you still need to install their specific versions of things to get their project to work…

          It’s like someone looked at how fast avacados and bananas go bad after lasting a while, and was inspired to make a development environment that did the exact same.