5 ms·
Aren't the interfaces-as-generics constraints also from c#? It seems to be c# more than anything else.
by Pxtl 12y ago
Aren't the interfaces-as-generics constraints also from c#? It seems to be c# more than anything else.
- keithwarren 12y agoI agree, it seems to be heavily influenced by C#. I am primarily a C# dev and reading through the code and docs I seem to have no mental friction, as opposed to ObjC which seemed to make me bang my head on my desk.
- chrisseaton 12y agoI think any attempt to precisely pin down where a particular language feature has come from or where a language draws inspiration from is pretty futile. Many language constructs were invented simultaneously under different names in different languages.
- rayiner 12y agoType parameters constrained by sets of method signatures dates to 1977: http://en.m.wikipedia.org/wiki/CLU_(programming_language) http://en.m.wikipedia.org/wiki/CLU_(programming_language). See also, Theta and some of Todd Millstien's work in the 1990s.
- balakk 12y agoOne of the Swift developers is a former F# dev: https://twitter.com/jopamer https://twitter.com/jopamer The language seems more closer to F# than C# to me. It's all good though!
- iends 12y agoHe is also a former typescript developer.