• @bleistift2@feddit.de
    link
    fedilink
    English
    -6
    edit-2
    11 months ago

    It’s amazing how often people celebrate some new feature in a language and I’m like: TypeScript has been doing this for years now.

    [Edit: This is also how interfaces work in Go, and it’s just the old advice “Code against interfaces, not classes.”]

    • @tenextrathrills@burggit.moe
      link
      fedilink
      English
      311 months ago

      It’s almost like python and typescript are used by different people for different purposes and have therefor developed differently, but some features end up being an overall good idea which enrich their respective ecosystems.

      You sound like an absolute tool.

      [Edit: Who f*cking cares]

    • @lysdexic@programming.dev
      link
      fedilink
      English
      211 months ago

      I’s amazing how often people celebrate some new feature in a language and I’m like: TypeScript has been doing this for years now.

      Whatever another programming language supports or does is entirely irrelevant if what you’re working with is Python.