• 3 Posts
  • 2.81K Comments
Joined 2 years ago
cake
Cake day: June 17th, 2023

help-circle

  • hark@lemmy.worldtoFediverse memes@feddit.ukRule
    link
    fedilink
    English
    arrow-up
    3
    ·
    19 hours ago

    Python absolutely is faster to get things going since it’s a lot more simple and flexible, that was never a point of contention, but it goes back to the issue of tech debt. The more you take advantage of Python’s simplicity and flexibility, the more pain you’ll be in when you need to untangle the mess and work out performance issues later on.

    Rust is a finished language, as much as one can be anyway. It’s stable and doesn’t have breaking changes. The editions mechanism means they can introduce more dramatic changes, but your older code will still function by assigning it an edition and you can always upgrade by making the changes necessary to jump to a later edition.


  • hark@lemmy.worldtoFediverse memes@feddit.ukRule
    link
    fedilink
    English
    arrow-up
    2
    ·
    21 hours ago

    Yeah, the argument for the indentation in Python is to enforce good formatting, but these days an IDE will do the good formatting for you, so now all that indenting does is make copying and pasting error-prone. Maybe that’s a benefit since it’d force you to look at what you copied and pasted. I’ve also heard about the Python vs Perl thing, but also Python looks a lot more welcoming to a beginner and is easier to pick up. I’m sure Perl fumbling contributed, but a lot of newer projects would’ve probably gone with Python anyway, like the data science stuff where the easy interface is exposed through a Python library and all the messy stuff is just C or C++ underneath.





  • hark@lemmy.worldtoFediverse memes@feddit.ukRule
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    I don’t like indentation affecting which block code belongs to, its poor type safety (with type hints being a minor band-aid), awful multithreading capabilities (being able to disable the GIL now helps but introduces its own issues), and multiple design decisions which, although make Python flexible and dynamic, make it hard to optimize running Python code and so all the performant libraries are written in something else like C and then you’re stuck having that as a dependency.












  • Harsh but true. The downvoters aren’t interested in reading the reality of the situation, and it does suck to see entire countries being treated as expendable pawns, but that’s just how the game of global politics is played.

    There is a reason why the west is not authorizing Ukraine to strike more aggressively deep within Russia even when Ukraine put in the hard work and made the sacrifice to counter the invasion.