Software Alternatives, Accelerators & Startups

An Ode to TypeScript Enums

ReasonML Elm Civet
  1. ReasonML is a new face to OCaml that--when coupled with BuckleScript--makes web development easy...
    Pricing:
    • Open Source
    When I see this it makes me want to run for ReasonML/ReScript/Elm/PureScript. Sum types (without payloads on the instances they are effectively enums) should not require a evening filling ceremonial dance event to define. https://reasonml.github.io/ https://rescript-lang.org/ https://elm-lang.org/ https://www.purescript.org/ (any I forgot?) It's nice that TS is a strict super set of JS... But that's about the only reason TS is nice. Apart from that the "being a strict super set" hampers TS is a million and one ways. To my JS is too broken to fix with a strict super set.

    #Personal Finance #Finance #Financial Planner 40 social mentions

  2. 2

    Elm

    A type inferred, functional reactive language that compiles to HTML, CSS, and JavaScript
    Pricing:
    • Open Source
    When I see this it makes me want to run for ReasonML/ReScript/Elm/PureScript. Sum types (without payloads on the instances they are effectively enums) should not require a evening filling ceremonial dance event to define. https://reasonml.github.io/ https://rescript-lang.org/ https://elm-lang.org/ https://www.purescript.org/ (any I forgot?) It's nice that TS is a strict super set of JS... But that's about the only reason TS is nice. Apart from that the "being a strict super set" hampers TS is a million and one ways. To my JS is too broken to fix with a strict super set.

    #Programming Language #OOP #Generic Programming Language 123 social mentions

  3. 3
    The modern way to write TypeScript
    Pricing:
    • Open Source
    Civet (https://civet.dev) is probably my favorite one if I want something a bit fancier than Typescript, purely because it shares the same elements that you are as "opt-in" as much as you like, at least in my limited experience.

    #Developer Tools #Productivity #Git 8 social mentions

Discuss: An Ode to TypeScript Enums

Log in or Post with