Was Python a mistake?

Was Python a mistake?

POSIWID: The Purpose Of A System Is What It Does Shirt $21.68

CRIME Shirt $21.68

POSIWID: The Purpose Of A System Is What It Does Shirt $21.68

  1. 2 weeks ago
    Anonymous

    It was a joke. Nobody took it serious when it was released and it was ignored for like 20 years until it took off and became a literal meme up to a point where even colleges teach it for no reason. Its nowadays a trend and thats it, the hypetrain will soon be gone and python will be replaced

    • 2 weeks ago
      Anonymous

      >t. bet on Perl and lost everything

      • 2 weeks ago
        Anonymous

        how did you know?

        • 2 weeks ago
          Anonymous

          Larry and every other Perl holdout are still seething uncontrollably about this state of affairs.
          He used to mock Python at every opportunity: http://wall.org/~larry/onion3/talk.html

          • 2 weeks ago
            Anonymous

            A fun fact about this image: you know it was generated with Perl because both dimensions are off-by-one.

          • 2 weeks ago
            Anonymous

            >t. bet on Perl and lost everything

            A fun fact about this image: you know it was generated with Perl because both dimensions are off-by-one.

            perl WILL come back

  2. 2 weeks ago
    Anonymous

    better Python than Visual Basic

  3. 2 weeks ago
    Anonymous

    >python will be replaced
    by what?

    • 2 weeks ago
      Anonymous

      something worse or better, its up to the people who meme the next big language that does literally nothing better

    • 2 weeks ago
      Anonymous

      It's always the nocoders that scream python is a mistake while made absolutely nothing. Not even a weather app.

      Unless some language with even easier syntax than python, it will not be replaced. Python simply lowered the barrier of entry to programming for STEMtards so they don't even need to know basic OOP or even DSA to actually do their science projects because it just werks for them.

    • 2 weeks ago
      Anonymous

      Boa.

  4. 2 weeks ago
    Anonymous

    nope, it helped scientists make helpful scripts for their work without knowing much about programming
    also its better than bash for anything over 20 lines

  5. 2 weeks ago
    Anonymous

    python won, git gud

  6. 2 weeks ago
    Anonymous

    Its another scripting language that started out with good intentions but got bastardized into something it was never supposed to be.

    • 2 weeks ago
      Anonymous

      Python isn't, and was never intended as a scripting language.
      In fact, it's not syntactically possible to put (most) Python programs on one line.
      People use the "scripting" qualifier in an attempt to cope with the fact that Python took over their niche.

      • 2 weeks ago
        Anonymous

        Take your meds schizo, Python is a scripting language deal with it.

        • 2 weeks ago
          Anonymous

          >Source: my ass

      • 2 weeks ago
        Anonymous

        This, and I don't like python.

        https://i.imgur.com/SmnHVfh.jpeg

        Was Python a mistake?

        Yes. We should be using R for data but python is more popular...

        • 2 weeks ago
          Anonymous

          R has some nice shortcuts but the performance is appalling.

  7. 2 weeks ago
    Anonymous

    Yes. Yes it was.
    >t. Professional Python developer

  8. 2 weeks ago
    Anonymous

    The language design indicates Guido is an idiot.
    The 2-to-3 switch indicates is an idiot.
    People who defend either are typically idiots who show they have no real world programming experience.

    Especially the moronic arguments surrounding the updates like
    >You sat on your arse for 5 years when you could have been rewriting your 5 million line codebase with the chance of introducing regressions.
    No, you idiot, they were doing other things with their time in those 5 years and rewriting it means they have to decide what else not to do. It's the ultimate state of arguments made by people who are literally
    >Oh, I'm bored and have nothing to do, I guess I'll go program with my available time.
    Rather than
    >I get paid to work 38 hours per week and my team lead decide what I allocate each of those hours to.

    Surprise surprise surprise that:
    >Rewriting already working code that has already been written by someone who was paid for that time in another language which may or or may not introduce regressions when doing so

    Is very low on the list of things of priorities and
    >Write new code that will make us more money
    Is a lot higher.

  9. 2 weeks ago
    Anonymous

    Let's look at what it replaced...
    >bash
    >perl
    >ruby, marginally
    >batch
    >awk
    >FORTRAN (in science)
    >Matlab (also in science)
    I rest my case.

    • 2 weeks ago
      Anonymous

      python_cant_do_this = `ruby can run commands with backticks`

      • 2 weeks ago
        Anonymous

        It's super easy to define a function like:

        def substitute ( cmd, interpreter = 'python' ):
        import subprocess
        return subprocess.check_output([interpreter, '-c', cmd])

        Like in any other language, and then simply use it as such.

        This does not feel like a feature that needs special syntax.

        • 2 weeks ago
          Anonymous

          I'm not sure you understand
          In ruby scripts you can do this:

          files = `ls -a`

          To run a command and (optionally) get the result in a variable.
          It's very ergonomic.

          • 2 weeks ago
            Anonymous

            Yes anon, and with that function, you can now do:
            files = substitute("ls -a")

            Do to the same in Python.
            If you think the name “substitute” is too long then define a shorter one.

  10. 2 weeks ago
    Anonymous

    All dynamically typed languages are a mistake. It was an understandable mistake in the 1960s and early 1970s but anytime after that it was sheer moronation. Dijkstra was right as always.

  11. 2 weeks ago
    Anonymous

    Nah, it get paid $120k for writing shitty python scripts.

  12. 2 weeks ago
    Anonymous

    Python is trash. You are all sleeping on powershell so hard. It has the entire .net library + powershell modules that essentially acts as your nuget.
    >b-b-but its to verbose!
    skill isssue.

    • 2 weeks ago
      Anonymous

      t. microsoft shill

      • 2 weeks ago
        Anonymous

        powershell is cross platform. You can run it on linux. Give credit where credit is due. Lintroons stay blind with the hate and let good tech pass them by because "le mainstream bad".

        • 2 weeks ago
          Anonymous

          1. he never said anything about windows. it's a Microsoft product, Microsoft shill
          2. the only reason to use that abomination is to interact with windows functionality that don't have proper settings in them. the only people who use powershell on Linux are balding Microsoft admin lifers who are getting build scripts to run in docker or something

  13. 2 weeks ago
    Anonymous

    python the language is fine but the tooling is shite, makes npm seem good

    they need to come up with something like cargo for python 4

  14. 2 weeks ago
    Anonymous

    Python was such a good language they had to rewrite the whole syntax and release it as a version 3, and every OS had to tie themselves in knots to make sure the proper binary was executed because lol backwards compatibility right

    • 2 weeks ago
      Anonymous

      the 2 -> 3 move killed the momentum for sure

      • 2 weeks ago
        Anonymous

        Post Python adoption stats before and after Py3.

        Python was such a good language they had to rewrite the whole syntax and release it as a version 3, and every OS had to tie themselves in knots to make sure the proper binary was executed because lol backwards compatibility right

        >they had to rewrite the whole syntax
        No, they haven't.
        But hey, at least Perl is stable, chilling at version 5 for the past 29 years (and counting). Perl 5 is so good that it killed Perl 6 and 7 completely!

        • 2 weeks ago
          Anonymous

          >Strings are now Unicode and binary strings are separate types. This means you have to appropriate conversions too and understand which is which at times.
          >The / operator is now floating point division. This is really great for new code but subtle to find and convert in old code.
          >Range in python3 is the old xrange in python 2. This also means for some things you must explicitly use list() if you really want a list.
          >Print statement is gone and replaced by the print function. This one is the hardest to get you mind to remember in terms of adding the ().
          >Some import and from statement semantics have changed in some cases though maybe that was in 2.7.
          >Along with standard library changes

          • 2 weeks ago
            Anonymous

            Oh wow, six notable changes in a major version?!
            STOP THE FRICKING PRESS, IT'S A HECKIN' WHOLERINO REWRITERINO!

          • 2 weeks ago
            Anonymous

            Shill rust already like a proper troony

          • 2 weeks ago
            Anonymous

            >discussing Python in a Python thread makes one a shill and a troony

Your email address will not be published. Required fields are marked *