Lemmy.VG
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@infosec.pub to Programmer Humor@programming.dev · 1 month ago

Haskellers when someone boasts about Typescript's fake type system.

infosec.pub

message-square
35
link
fedilink
153

Haskellers when someone boasts about Typescript's fake type system.

infosec.pub

cm0002@infosec.pub to Programmer Humor@programming.dev · 1 month ago
message-square
35
link
fedilink
  • Fisherswamp@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    1 month ago

    Listen I absolutely love rust but it’s not even close. Typescript’s type system is orders of magnitude more powerful, to the point where it is actually turing complete.

    • ultimate_worrier@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      1 month ago

      deleted by creator

      • sarahnya@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        GHC has had experimental support for linear types in Haskell since version 9.0.1

        • ultimate_worrier@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          deleted by creator

          • gedhrel@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            1 month ago

            That’s not realistic or “fair” - most Haskell projects will use a dozen or so extensions easily. GHC has been a platform for language experimentation for a long time; standardisation efforts keep on cropping up in annual surveys. (Eg, swapping in Text for String in base is long overdue, but it’s a hold over from days where FP pedagogy was seen as more important.)

      • qaz@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        Typescript’s string pattern types are quite neat though

        • ultimate_worrier@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          2
          ·
          1 month ago

          deleted by creator

    • foenix@lemmy.radio
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      I code a ton in both Rust and Typescript for work… I think Rust has just as capable of a type system, but leveraging macros for functional defs vs object ones.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.01K users / day
  • 3.86K users / week
  • 7.74K users / month
  • 17.3K users / 6 months
  • 9 local subscribers
  • 31.5K subscribers
  • 2.05K Posts
  • 67.3K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.17
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org