• brettvitaz@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days ago

    Very little of this is uniquely a problem in Python. It seems to me that your problem is with software development in general.

        • azimir@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          12 days ago

          The same meme with “wiring and lights” at the top. Then you descend to motors, transformers delta-y phases, RC and RL circuits, op amps, BJT circuits, reverse bias what?, differential equations, and eventually signals and systems.

        • JackbyDev@programming.dev
          link
          fedilink
          English
          arrow-up
          0
          ·
          10 days ago

          What’s the difference? I rarely use Python and every time I do I have to relearn which tools are the go to ones. In Java it’s a little simpler, we really just have Maven and Gradle. They have their own problems, sure, what tool doesn’t, but the thing that annoys me about python is the quantity of tools. There often isn’t a clear winner.

          Now, to be fair to python, a lot of the ones mentioned on this post are very specifically for data science use cases and not general purpose development.

        • synae[he/him]@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          0
          ·
          11 days ago

          That’s the part I like the most. I don’t want to work on any code that isn’t properly formatted, and at that point why bother with curly braces, etc?

          • Tiefling IRL@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            0
            ·
            edit-2
            11 days ago

            They help to digest the individual code blocks. My mind doesn’t digest whitespace the same way, it simply interprets it as formatting.

            It’s also much more frustrating to edit imo since the formatter generally has no idea what to do with misaligned whitespace. I also find it frustrating that you can’t do multiline lambdas, last I used it.

  • heavy@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days ago

    I don’t know who needs to hear this, but Python, like most languages, can be as complex as you make it.

  • Machindo@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    12 days ago

    Some people in the comments didn’t take it as tongue-in-cheek as I did. 😝

    I thought this was really funny. That’s a good collection of toe stubs.

    There is a lot of stuff to learn to be good at python but I still love it.

  • dudinax@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    12 days ago

    Best scientific packages in the open source by far, a library for everything, everybody knows it. Works on all kinds of systems. Available by default in many OSs.

    You might not like it, but you can’t leave.

    • LANIK2000@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      12 days ago

      Can’t speak for the science libraries as I’ve never used em, and I’ll gladly just blindly accept that as truth, but for everything else it’s always a pain in the ass. For being designed to “run on anything” it sure is funny that 90% of the time I download a python app it doesn’t fucking work and requires me to look up and manually setup a specific environment for it. Doesn’t help that the error messages are usually completely random and unrelated to this…

      I always dread when some fucking madman makes the installer for their app in python, knowing it’ll probably fail… God forbid it’s a script that’s supposed to modify something else. Always a good time for reflection upon the choices that led me to this point.

      Even my old scripts I kept around for sentimental value. Half of those don’t work either, and I can’t be bothered to figure out what version I made em for.

      I tried my best to scrub python from my pc out of principle, but as you say, it’s soo common my distro uses it as a dependency, fucking bullshit!

    • azimir@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      12 days ago

      The summary that I liked from the last post was “python is the second best language for everything”. There’s always something specialized and better for every given job. But, if you want one tool that’ll do a solid job everywhere, python is your go to.

      • CanadaPlus@lemmy.sdf.org
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        10 days ago

        I don’t think that’s quite right. It’s more like if you have to choose a language before you know what you’re doing, Python is the best choice. For anything large enough it’s multiple places down the list, but you really don’t want to have to learn Rust and possibly reinvent wheels for your quick boilerplate hack.

      • toastal@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        11 days ago

        I literally used to say this last decade, but as I grew experienced with more languages/paradigms/systems, it became 3rd best, then 4th, until I realized it actually not really great at anything other than there is an large ecosystem around it (wildly varying in quality). To some that might be enough, & going outside what you know isn’t typically the most wise thing to do, but it’s not particularly simple, or readble, or performance, or composable, or offering great patterns. Anything that used Python in Nixpkgs tend to be the most unreliable software for actually building & using.

      • dudinax@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        11 days ago

        I guess I don’t know. Whenever something tempts me to R, I quickly find that Python’s got a good-enough solution.

        • menemen@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          11 days ago

          Same for me with python, I always fall back to R after 10 minutes of trying to do it in python. :)

      • Kichae@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 days ago

        Is great until you need a job. It solves the 2 language problem right up until you’re working with others.

  • pete_the_cat@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    12 days ago

    The thing that annoys me the most is how it cares about whitespace/carriage returns. I remember back in college when I was taking a CS class, learning Python and writing the Code on a Windows PC, emailing it to myself, and then attempting to run the code on Linux. Before I learned about the carriage return conversions, I remember having to rewrite about 75 lines of code before I got it to run. 🤬

  • toastal@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    11 days ago

    This is so true & unfortunately everyone keeps telling beginners to start at Python

  • fin@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    12 days ago

    While being controversial, rye is very good for small personal projects. It does pretty much everything from python version management to project scaffolding.

  • jeffhykin@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    12 days ago

    I didnt upvote the other python-beginer friendly meme cause it wasn’t accurate. But this one is on point.

  • powermaker450@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    11 days ago

    oh my fuck. circular imports.

    I set out to create a Discord Bot in Python, then gave up trying to use an easy “proper” server-side language and just did it in TypeScript