News for hackers. Stuff that matters.
Re:Fifty Shades of OOP by 21asdffdsa12 on Tuesday November 25, 2025 @08:11AM (#46045449)
You are so ready : https://fsharpforfunandprofit.com/rop/

The separation of functions and records..

Re:Fifty Shades of OOP by ejflick on Tuesday November 25, 2025 @10:40AM (#46046836)
I've read his book "Domain Modeling Made Functional" without much prior knowledge of F#. He provides some compelling examples and some of it ended up inspiring how I write OO code. F# seems cool but it felt like it was close to being extinct.
Re:Fifty Shades of OOP by vips7L on Tuesday November 25, 2025 @01:43PM (#46049175)
Honestly one of the best books I've read about programming. It's inspired me to try the language out just for fun things, think I'm going to use it for Advent of Code this year. I think it does benefit from being interoperable with C# so you can use it where it makes sense and still have C# to fall back on. Kind of like Scala/Kotlin with Java.