609
you are viewing a single comment's thread
view the rest of the comments
[-] melfie@lemy.lol 54 points 2 months ago

I worked in heavy JavaScript codebases back in the IE days and wasn’t too crazy about it. Then JIT compilers like v8 came along and made it run a lot faster and TypeScript also made it more usable for larger codebases. I now consider TypeScript among my favorite languages. I’ve also written a lot of Go lately, and while I appreciate its speed and smaller memory footprint, the missing language features kind of grate on me and I don’t mind taking a bit of a performance hit for the (IMO) superior ergonomics of TypeScript, especially for workloads where I/O is more of the bottleneck than compute.

[-] sip@programming.dev 17 points 2 months ago

agreed. typescript is excelent, especially if you make it strict and know a bit of complex types to make sure things stay put.

[-] victorz@lemmy.world 7 points 2 months ago

Chiming in as a professional TS dev. It's really a joy to do web dev work in the post TS world.

[-] sip@programming.dev 3 points 2 months ago

i wish a more performing language would have this type system. the only other ones I know are Rust which is a bit strict and slow to dev on, and Haskell which is too much.

[-] victorz@lemmy.world 2 points 2 months ago

Fully agree.

I hear good things about OCaml? Anyone tried that?

[-] sip@programming.dev 1 points 2 months ago* (last edited 2 months ago)

I asked chatgpt for a few languages with a good typesystem and it suggested ocaml among other (scala, rust, haskell, f#)

Then asked for a 100 line ocaml REST API example with a popular framework and db lib.. and it looks mostly like Haskell.

edit: async is done with monads

[-] victorz@lemmy.world 1 points 2 months ago

If it looks mostly like Haskell but has better tooling, I'm in. I have yet to manage to successfully set up a Haskell environment on my own PC. 😅 I am obviously missing something.

[-] sip@programming.dev 1 points 2 months ago

I think ghcup is the simplest way

[-] sip@programming.dev 1 points 2 months ago

I used it either through my distro's package or using stack install. there's also cabal install, but that doesn't install the compiler, at least not in 2017 when I played with it.

load more comments (14 replies)
load more comments (14 replies)
load more comments (15 replies)
this post was submitted on 24 Nov 2025
609 points (89.0% liked)

Programmer Humor

29672 readers
1329 users here now

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

founded 2 years ago
MODERATORS