• Snot Flickerman@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      20
      ·
      1 month ago

      But the Lord came down to see the city OS and the tower app the people were building. The Lord said, “If as one people speaking programming the same language they have begun to do this, then nothing they plan to do will be impossible for them. Come, let us go down and confuse their language so they will not understand each other.”

      So the Lord scattered them from there over all the earth, and they stopped building the city OS. That is why it was called Babel—because there the Lord confused the language of the whole world. From there the Lord scattered them over the face of the whole earth.

      This message brought to you by TempleOS

    • xavier666@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      There are 2 types of programming languages

      • The type everyone keeps complaining about
      • The type no one uses
  • jeffhykin@lemm.ee
    link
    fedilink
    arrow-up
    24
    arrow-down
    1
    ·
    1 month ago

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

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

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

  • SatyrSack@lemmy.one
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    1 month ago

    Are any of those things that you actually deal with as a beginner, though? Sure, those add complexities, but by the time you start to get into them, you are probably no longer a beginner.

    • MashedTech@lemmy.worldOP
      link
      fedilink
      arrow-up
      9
      ·
      1 month ago

      Of course… But the idea is that it is misleading… And there’s more traps the beginners falls into. I have a feeling if beginners begin with C++, or other language that is strongly typed and requires memory management and then do some other language that is more abstract like python; they will become better programmers compared to them doing it in reverse.

      • xpinchx@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        Yeah but fuck all that python is good enough for most beginners. Variables, scope, loops, functions, operators… Once you get some of the principles down switching to C++ or similar isn’t nearly as bad.

        Being a person that tried to learn C/C# from scratch in my early days python was a good gateway language.

  • brettvitaz@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    1 month ago

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

  • DerArzt@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    1 month ago

    For how popular of a language python is, at this point it’s a bad sign to me that the language has default way to manage versions and create new projects. I get having options, but options are annoying to new folk.

    • Pennomi@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      Why would it be a bad sign that the language has built in tools for common things you need to do?

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Honestly also annoying as a not-so-new folk. I just thought about this yesterday, I reasonably expect to clone a random project from the internet written Java, Rust et al, and to be able to open it in my IDE and look at it.

      Meanwhile, a Python project from two years ago that I helped to build, I do not expect to be able to reasonably view in an IDE at all. I remember, we gave up trying to fix all the supposedly missing dependencies at some point…

  • dudinax@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    1 month 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
      1
      ·
      1 month 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!

  • pete_the_cat@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    1 month 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. 🤬

  • powermaker450@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 month 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

  • toastal@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

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

  • Smoogs@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    “Print needs ()”

    Oh fuck off. years of code that cannot be easily redone in ANY editor. Whoever OCDd that into python 3 needs to have their asshole kicked up into their mouth.

    • janAkali@lemmy.one
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      20 days ago

      Meanwhile Nim:

      echo "I am still worthy"
      
      let a = r"I hate the ugly '\' at the end of " &
               "multiline statements"
      
      for x in 0..9:
        if x == 6: echo x
      
      echo x # this is error in Nim, but not in python. Insane!
      
      assert false + 1 # this is an error (python devs in shambles)
      assert true - 1 # see above
      

      Thanks for coming to my Ted-talk.
      More here: Nim for Python Programmers