• @[email protected]
    link
    fedilink
    32 months ago

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

    • @Phrodo_00
      link
      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

      • @[email protected]
        link
        fedilink
        42 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”!