• oce 🐆@jlai.lu
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 months ago

    Some people think that because Python is the easiest language to learn, it’s going to be easy to learn programming with Python. But learning programming is still very hard, so many abstract concepts to grasp. Python just makes it a tiny less hard, almost insignificantly now that we can use an LLM to learn the syntax faster than than ever.

    • AnAmericanPotato@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      In practice, Python is not easy to learn programming with. Not at all. I see beginners wrestling with Anaconda and Jupyter notebooks and I weep.

      The fact that pip is intentionally broken on macOS and some modern Linux distros sure doesn’t help. Everything about environment management is insane.

      • tyler@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        Comparing python env management to Ruby or rust or even Java for fucks sake just goes to show that nobody actually cares about how easy a language is to use, they just care about what is popular or what they think is popular.

        • oldfart@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          Ruby, of all the examples you could come up with? My Redmine is updated only every few years because I rarely have a whole day to deal with the mess that is Ruby deps managent.

          Java deals with this ellegantly.

          • tyler@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            2 months ago

            Huh? I assume you mean RubyMine and I have no clue what dependency issues you could be dealing with unless you’re on windows (which python is even worse with). You have one package manager and one build tool on Ruby, compared to Python’s now 16 tools. Ruby is the gold star for package management which is why both Rust and Elixir copied enormous parts of it when creating their tools cargo and mix.

      • calcopiritus@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        That is because when you’re a beginner, you read everywhere that you should be using anaconda and jupyter notebooks. I know because I did so. Neither of them lasted more than a week on my computer though.

    • funkless_eck@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      as a complete layman and hobbyist i also personally think that “more pythonic” coding can sometimes be more confusing.

      I dont think any beginner reads “j for j for i in k” and instantly gets it.

      maybe unpopular opinion idk

      • calcopiritus@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        2 months ago

        Anything that’s not an integer or a range doesn’t belong inside []. Much more readable to use zip, map, filter, etc. And more powerful.

        EDIT: that was meant for indexing lists. Strings inside [] for indexing ducts are fine.