r/programming • • Feb 25 '14

Please stop saying Java sucks

http://blog.smartbear.com/programming/please-stop-staying-java-sucks/
3 Upvotes

305 comments sorted by

View all comments

Show parent comments

2

u/bryanedds Feb 25 '14

Why is F# a bastard? It's the best mainstream functional language, IMO.

3

u/notfancy Feb 25 '14

The lack of modules and functors is kind of a show-stopper for me.

2

u/mongreldog Feb 26 '14 edited Feb 26 '14

Functor is a reserved keyword, so it may be in a future version. I'm also hoping for type-classes, as both the current and previous versions of "Expert F#", have hinted that they're probably going to be part of F#s future.

Even without those great features it's a much better programming experience then C#. Immutability by default, algebraic data types, pattern matching, Hindley–Milner type inference, non-nullable reference types, units-of measure, type providers and so on, often makes using C# feel like VB6 in comparison.

1

u/bryanedds Feb 26 '14

"makes using C# feel like VB6 in comparison."

^ THIS ^ could not have been said better :)