3 ms·
That's because F# 1.0 was bascially a more powerful language than C# 10.0 (C# still doesn't have proper pattern matching for example, or discriminated unions)
by toyotaboy 9y ago
That's because F# 1.0 was bascially a more powerful language than C# 10.0 (C# still doesn't have proper pattern matching for example, or discriminated unions)
For features added see https://en.wikipedia.org/wiki/F_Sharp_(programming_language) https://en.wikipedia.org/wiki/F_Sharp_(programming_language)
Named union type fields
Extensions to array slicing
Type inference enhancements
Printf on unitized values
Extension property initializers
Non-null provided types
Primary constructors as functions
Static parameters for provided methods
Printf interpolation
Extended #if grammar
Support for 'fixed'
Tailcall attribute
Multiple interface instantiations
Optional type args
Params dictionaries
Struct tuples which inter-operate with C# tuples
Struct annotations for Records
Struct annotations for Single-case Discriminated Unions
Underscores in numeric literals
Caller info argument attributes
Result type and some basic Result functions
Mutually referential types and modules within the same file
Implicit "Module" syntax on modules with shared name as type
Byref returns, supporting consuming C# ref-returning methods
Error message improvements
- toyotaboy 9y agoFor library, see https://github.com/fsharp/fslang-design/blob/master/FSharp-4.0/ListSeqArrayAdditions.md https://github.com/fsharp/fslang-design/blob/master/FSharp-4...
- TensorMetric 9y agoAll those features mean nothing to seasoned .NET developers when you can't use the language natively on Microsofts primary application platform.
- toyotaboy 9y agoYou can gripe about your fav UI stack not being supported just the way you want (you don't seem to have any other complaints), but your claim the language is not improving is wrong.
- TensorMetric 9y ago> You can gripe about your fav UI stack not being supported just the way you want (you don't seem to have any other complaints), .NET Native and UWP are not just UI, > but your claim the language is not improving is wrong. You're confusing me with the parent commenter https://news.ycombinator.com/item?id=15029008 https://news.ycombinator.com/item?id=15029008