(Please don’t lob rocks at me. I love Python.)

  • @[email protected]
    link
    fedilink
    English
    2
    edit-2
    9 hours ago

    One tremendous strength of Python no one has mentioned is its vast ecosystem of high quality packages. It’s not just the language features that speed up development, that ecosystem makes a huge difference.

    Another (far more subjective) advantage is readability - when written according to Python’s (actually quite opinionated!) style guidelines and general software engineering best practices, Python is also extremely readable, which really facilitates teamwork. My software shop has transitioned to using Python for most things these days for that reason, away from JS, after seeing my work and code reviews, FWIW.

    I’m not some wizardly dev, to be clear, but I’m this shop’s first senior dev specializing in Python. I write deliberately clean and readable Python and folks are really enjoying it - enough to voluntarily switch.

    Performance is always listed as a Python drawback, and it’s not untrue, it’s just so overblown as a problem. It basically never causes me issues. Crucially, saving dev time is almost always the better choice compared to saving compute cycles. And I’d take that farther and say anyone junior enough to be wondering about Python and performance…is almost certainly working on tasks that Python is well suited to - better suited, than most other languages.

    (Hopefully this was not too controversial, but I accept the risk of a flame war, as is tradition lol)

    Edit: clarity