News for hackers. Stuff that matters.
Re:Why your F# evangelism isn't working by jacquesm on Wednesday May 31, 2023 @05:12AM (#36136184)
One of the main issues with this is that OO as practiced in C# and Java is only a very thin extract from the real OO as provided by for instance Smalltalk. And without that kind of environment you end up with the worst of both worlds, where you have an OO like interface layered on top of things that aren't really objects to begin with, because they aren't 'alive'.
Re:Why your F# evangelism isn't working by xmcqdpt2 on Wednesday May 31, 2023 @08:11AM (#36137389)
One might say that Real OOP has never been tried.
Re:Why your F# evangelism isn't working by pmontra on Wednesday May 31, 2023 @08:42AM (#36137657)
Erlang and Elixir with spawn processes (objects with their own CPU) and send / receive message passing? But they do their best to hide it in OTP behind all that handle_* boilerplate.
Re:Why your F# evangelism isn't working by whstl on Wednesday May 31, 2023 @08:37AM (#36137619)
There's Smalltalk. And Ruby gets pretty close to Smalltalk, but yeah, in practice it ends up looking like very close to Java. Your point stands.
Re:Why your F# evangelism isn't working by tombert on Wednesday May 31, 2023 @08:16AM (#36137423)
I feel this kind of argument is a bit pedantic though; when people complain about OOP, they're generally complaining about the mainstream implementations of OOP.

I don't think that people people are really considering Smalltalk's OOP style when they complain about Java OOP.

Re:Why your F# evangelism isn't working by jacquesm on Thursday June 01, 2023 @04:48AM (#36148811)
This is far from pedantic. Calling something OOP when it isn't is a huge part of the problem.
Re:Why your F# evangelism isn't working by aksss on Thursday June 01, 2023 @04:48AM (#36148813)
Very good observation but I do wonder whether it’s the worst of both worlds or the best of both worlds - more the “eat the meat and spit out the bones” approach?