News for hackers. Stuff that matters.
Re:Deep Dive Into C# 9 by tigershark on Friday December 06, 2019 @05:48AM (#21720650)
The only cumbersome part is when you need to interop with C#. The .net event syntax is ridiculous for example.
Re:Deep Dive Into C# 9 by thomasz on Friday December 06, 2019 @08:34AM (#21721595)
The imperative features feel bolted on and underdeveloped. Just try to break out of a loop or do an early return in f#. The language really discourages the pure interface, impure implementation approach. I feel often compelled to use explicit tail recursion instead, which in turn feels like it's placed in a weird middle ground between a goto fest and structured programming.
Re:Deep Dive Into C# 9 by rienbdj on Saturday December 07, 2019 @05:00AM (#21729422)
If you allow early returns in a loop then loops are no longer expressions.