IssueRaiser

So far, it seems that a well-designed OO language can get you closer to the best of both worlds than if you start from ML-style functiona...

So far, it seems that a well-designed OO language can get you closer to the best of both worlds than if you start from ML-style functional languages. Consider that C# let's you have all three of your essentials: It doesn't have higher-kinded types, but it does have monad comprehensions (LINQ + SelectMany)… the special syntax is nice but not necessary. It has type classes in the form of implicit conversions. It has modules in the form of static classes. C# even lets you do Smalltalk-style OO without too much fuss. The biggest problem with C# and pethaps OO in general is the lack of intellectual curiosity.

Posted by noblethrasher on Nov 30, 2014, 5:25 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.9,000 issues0 comments

hackernews (Other)

So far, it seems that a well-designed OO language can get you closer to the best of both worlds than if you start from ML-style functiona...

noblethrasherNov 30, 2014, 5:25 PM

So far, it seems that a well-designed OO language can get you closer to the best of both worlds than if you start from ML-style functional languages. Consider that C# let's you have all three of your essentials: It doesn't have higher-kinded types, but it does have monad comprehensions (LINQ + SelectMany)… the special syntax is nice but not necessary. It has type classes in the form of implicit conversions. It has modules in the form of static classes. C# even lets you do Smalltalk-style OO without too much fuss. The biggest problem with C# and pethaps OO in general is the lack of intellectual curiosity.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue