News for hackers. Stuff that matters.
Re:Nim 2.0.0 RC2 by usrnm on Friday March 31, 2023 @08:45AM (#35386253)
> Microsoft should have just made F# the C# successor.

You underestimate the importance of compatibility and familiarity for existing developers. You can show C# code to any C++, Java or even JS programmer and expect them to grasp the idea of what's going on very quickly. This is a big deal and should not be discarded lightly

Re:Nim 2.0.0 RC2 by carlmr on Friday March 31, 2023 @09:51AM (#35387162)
In terms of looks mostly it just doesn't have as many types and fewer parentheses. Shouldn't be an issue if you know python.
Re:Nim 2.0.0 RC2 by bbkane on Friday March 31, 2023 @10:33AM (#35387737)
In my experience, Algebraic types alone take some work to get used to using competently. That's just one F# uniqueness and there are others. Learning Elm (a similar language) definitely made me a better engineer, but I really don't think learning F# is the same as learning Python for someone with experience with imperative/OO languages.

I think the reason it sometimes seems like it is that easy is that, as we gain experience with tools, we tend to forget the difficulties we had learning them.

Re:Nim 2.0.0 RC2 by carlmr on Friday March 31, 2023 @01:47PM (#35390540)
I had difficulties learning OOP, I always preferred a more functional style, despite "consensus" needing 20 years to catch on that functional programming alleviates a lot of the issues we have with OOP.

Learning F# it instantly clicked.

OOP learning issues IMHO are intrinsic to the style, because it's just so seldom helpful in making programming easier.

Design patterns are just a symptom of this issue. That OOP is just a misunderstanding another.

"Real" OOP as practiced in Erlang/Elixir is quite useful.

Re:Nim 2.0.0 RC2 by karmakaze on Friday March 31, 2023 @11:51AM (#35388946)
I think they are making F# the successor but very slowly by evolving C#. I would also have preferred the direct path.