• Redkey@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    13 minutes ago

    I started programming in a time when the idea that the computer could keep track of your variable types for you automatically was a fever dream, so it’s wild for me to see some programmers now throwing shade at particular langages for “not implementing proper variable typing functionality”.

    It feels like someone saying that low-fat milk producers are too cheap or lazy to put enough fat in their milk.

    Fashion really does go in cycles.

  • squaresinger@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 hour ago

    Why do programs written in Haskell not have side effects?

    To have side effects someone would have to run the programs.

  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 hours ago

    The same reaction whenever I look at haskell. A “pure” language with an escape hatch that has a fancy name. Once you open the escape hatch, you can write entirely impure code in Haskell and never see a pure function in your life. So much for “pure”.

  • marcos@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    6 hours ago

    Are extensible records usable already?

    Not that I would pick TS because of that, but the disdain is undeserved when it has some very useful features that Haskell has been trying to copy for years.