this post was submitted on 24 Nov 2025
555 points (89.4% liked)

Programmer Humor

27489 readers
1700 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] victorz@lemmy.world 2 points 20 hours ago (1 children)

Fully agree.

I hear good things about OCaml? Anyone tried that?

[–] sip@programming.dev 1 points 20 hours ago* (last edited 20 hours ago) (1 children)

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 19 hours ago (2 children)

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 6 hours ago

I think ghcup is the simplest way

[–] sip@programming.dev 1 points 6 hours 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.