• pingveno@lemmy.ml
          link
          fedilink
          English
          arrow-up
          12
          ·
          1 year ago

          Much less of a big deal for most applications. For the applications that need it in some areas, use PyO3 to write a module in Rust. Of course, Python’s not going to be the perfect tool for every job, and that’s okay.

          • Nooo if a proframming language is not the best choice for every job it is worthless and all the programmers using it are heathens!

            Except of course for the language i prefer because i am one of the few to not go insane doing application xy in it.

    • AlecSadler@sh.itjust.works
      link
      fedilink
      arrow-up
      12
      arrow-down
      3
      ·
      1 year ago

      While I personally agree that Python sucks, largely because I don’t agree with whitespace indentation defining blocks and I also don’t like Java…I’m neutral on Go, depending on the use case.

      I know plenty of people who love Python, but I kind of wonder if it’s because they were brought up on it. I wasn’t. So we’re just in different camps. Whatever floats your boat I guess.

      • relevants@feddit.de
        link
        fedilink
        arrow-up
        7
        ·
        1 year ago

        I was brought up on Python and also do not like it for a variety of reasons, both practical and by personal preference. I also have the opinion that if you are trying to learn software engineering it is not a good language to start out with, despite it being so easy to pick up at first.

        Some people try to use Python’s popularity as a counterpoint, and while it does show that my view is a minority opinion, it’s not a very convincing argument for the language itself.

        • evranch@lemmy.ca
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          if you are trying to learn software engineering it is not a good language to start out with

          Curious what options you would suggest instead? I’m an old C/++ embedded diehard, but I do use Python and have been considering it as the next step for my 9yo daughter after Scratch.

          Python feels like the modern replacement for Basic that I grew up with as a kid. Interpreted, garbage collected, good library support, sane typing and not too wordy or confusing. Lots of options to do fun things with it from games to robots.

          IMO for a young beginner the C-likes are too strict and segfault-y, Perl is too permissive and could breed sloppy habits, Basic is obsolete, all the web languages are way too application specific, I haven’t had a chance to get into Rust yet, and fuck Java as a matter of principle lol.

          • relevants@feddit.de
            link
            fedilink
            arrow-up
            4
            ·
            1 year ago

            Well, I think for a 9 year old it’s fine. I think the stage where you would run into issues is when trying to get into “actual” software development, where the flexibility in scoping and typing afforded by Python can lead to some bad habits (e.g. overusing global/shared variables, declaring them from within functions, catching errors late instead of validating data first, …)

            I don’t have a ton of experience with it but I think C# strikes a pretty good balance between strictness and beginner-friendliness. Modern Java isn’t all that bad either, though it doesn’t have very good options for fun things to build. But again, I don’t think this necessarily applies to a child; I’m an educator at a university so both my target audience and point of reference are freshman compsci students.

      • rodolfo@lemmy.world
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        1 year ago

        you’ve probably read this many times before. prototyping, three users applications, routine, quick test, owning pretentious kids with some class inheritance, medium / small company data processing, free very good editors with all you need to code/debug, speed not necessary, my boss doesn’t like it… stuff like that

    • vext01@lemmy.sdf.org
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      Depends what you are working on.

      Like all languages, they all have pros and cons.

      Language evangelism doesn’t help really…

    • RagingRobot@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      Having worked on all 3 of those I prefer python. I think C# is a much better Java alternative though. But it would depend on the project of course. Something like Python of JavaScript is nice for faster development. That’s my jam lol.

      As for it sucking ass. Idk about that but it may be a cool feature to try out

    • darcy@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      arrow-down
      5
      ·
      1 year ago

      i agree. python only be used if absolutely necessary, such as machine learning and what not. and only because of its popularity and libraries. scripting? try bash or lua. making a cli/tui? try rust or c or something. web backend? god have mercy if you decide to use python for that.