• spacecadet
    link
    fedilink
    arrow-up
    25
    arrow-down
    1
    ·
    edit-2
    2 months ago

    This is why I refuse to work in production code bases in python, it’s a nightmare of build systems, linters, package managers (dear god help the poor soul who accidentally pip’d from pypi and not your companies artifactory instance), formatters, convoluted ci pipelines that always seem to fail, a series of “senior” devs that will make you redo everything because you wrote your own map (we don’t use functional programming here meme) instead of a for loop (can’t use list comprehension for “code readability issues”). Got to the point of just saying fuck it, I’ll write it in Scala or rust, SBT and Cargo god tier.

      • xan1242@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        2 months ago

        C++ is at least backwards compatible (for 99% of code anyway, yes I know about some features being removed, but that’s an exception and not the rule).

    • xmunk@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      2 months ago

      Wait does python not have built in functional list comprehension? Even PHP has that built in at this point.

      • Phrodo_00@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        edit-2
        2 months ago

        Python is probably the language that popularized them, if not invented them. They’re saying the team doesn’t like using them.

        My take is that other than C++, where it’s reasonable, forbidden language features are a smell for the team not having a healthy understanding of the language

        • azimir@lemmy.ml
          link
          fedilink
          arrow-up
          4
          ·
          2 months ago

          As per all too often, the functional programming world invented them. Haskell (and its ilk) usually has all the future cool stuff already. Then python picks it up, then it moves over to C#/Java, then C++ says “mee too”!

    • grue@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      2 months ago

      Ha, you haven’t lived [in Hell] until you’ve tried to maintain a Jython build, with Python package dependencies (not just Java ones), in a production environment, in the 2020s.