[-] little_ferris@programming.dev 2 points 1 month ago

Woah. That's quite interesting. I didn't know that.

[-] little_ferris@programming.dev 2 points 1 month ago

Yea it's like when we writeSome(2). It's not a function call but a variant of the Option enum.

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

๐Ÿ˜‚ Ikr!

[-] little_ferris@programming.dev 7 points 1 month ago

Yeah I don't mean just terse functional idioms. Any programming technique that blew your mind the first time you came across it would qualify.

66
submitted 1 month ago* (last edited 1 month ago) by little_ferris@programming.dev to c/rust@programming.dev

If we were to create a Rust version of this page for Haskell, what cool programming techniques would you add to it?

[-] little_ferris@programming.dev 2 points 1 month ago

All your arguments can be applied when comparing ts to js. You can just use the succinct and readable js. Why waste time dealing with this type is implicitly any?

Get things done with js and chill.

little_ferris

joined 1 month ago