• SatyrSack@feddit.org
    link
    fedilink
    English
    arrow-up
    11
    ·
    3 hours ago

    Python is by far the fastest to write, cleanest, more maintainable programming language I know

    Maintainable? I have not ever had to work with any large Python projects, but from what I have heard, maintenance is a large pain point.

    • lime!@feddit.nu
      link
      fedilink
      English
      arrow-up
      1
      ·
      30 minutes ago

      i had the misfortune once of having to try to understand a >400kLoC python codebase in a critical position and let me tell you that maintainability is a Problem. the system was older than most of the best practices of today and had a structure i can only describe as “a duolith of sqlalchemy soup”.

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 hour ago

      It’s not too bad if you strictly enforce Pyright, Pylint and Black.

      But I have yet to work with Python code other than my own that does that. So in practice you are right.

    • aluminium@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      2 hours ago

      Also fastest to write? I’d say JS or Ruby are just as fast or barley slower.

      What most people mean is that Python has great Libraries which do the thing you want without much fuss. But thats more on the libraries than on the language.

      • SatyrSack@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        29 minutes ago

        I do not know Ruby, but Python has a lot of syntactic sugar that, if one becomes used to and proficient with it, makes writing much faster than other languages I know (including JavaScript).

    • SatyrSack@feddit.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 hours ago

      It seems “vanilla” Python is slow, but a JIT implementation like PyPy can speed things up significantly. The major downside seems to be that PyPy does not support Python code that relies on some CPython libraries.

  • Andrew@piefed.social
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 hours ago

    Oh man, it’s only from reading this that I’ve realised that ‘pypy’ isn’t the same as ‘pypi’