Hacker News new | ask | show | jobs
by mirekrusin 1061 days ago
Yes exactly, we need typescript style solution to get best 80% of ocaml/haskell available to joes kind of thing.
1 comments

Do you not find this idea somewhat embarrassing?

Why does everything need to look like JavaScript in order for Average Joe programmer to be able to read it?

It absolutely doesn’t.

But I can’t use OCaml or Coq at work.

I can use typescript. I can use algebraic data types, well typed functional combinators, exhaustive switch statements (through linter) and other functional design patterns.

I’d like to be able to use formal proofs. If it means dumbed down version that average joe can work with that can gain wider adoption - that’s much better situation to be in than not having anything at all.

There must be more developers in similar situation.