Elektrine lite

← Feed

@SinTan1729@programming.dev

Post #3197937

2026-06-08 11:41 UTC

I’ve always preferred the functional approach to programming, so OOP never really intrigued me. That’s one of the reasons why I never liked C++ or Java, but instantly fell in love with Rust. It lets me do a lot of functional style programming, while still being somewhat practical. (I’m looking at you, Haskell.)

Replies (1)

  • @LedgeDrop@lemmy.zip 2026-06-08 16:55

    I’ve been a long time believer that some problems are better solved via OOP, others through functional programming. The perfect language would be a successful blend of the two. Many popular OOP languages are horribly lacking on FP or it looks like an eyesore (golang, python, etc). I thought Crystal Lang (a statically type checked dialect of Ruby)… but the compile time performance and the lack of 3rd party libraries (like an aws SDK) really made it hard to use. Hearing what you said about Rust has renewed my hope. That said, I did notice that features like Coroutines have been “experimental” for nearly 9 years. I hope I’m missing something obvious, but how would you create any sort of heavy-lifting, long running, multi-session daemon/application without having some sort of asynchronous mechanism that goes beyond threading (which is limited to the number of cores the host machine is running).

    Open ##3197936