Re:Swift – observations from Rust’s original designer
by Pxtl on Monday June 02, 2014 @08:42PM
(#7837500)
Aren't the interfaces-as-generics constraints also from c#? It seems to be c# more than anything else.
[ Parent
| on HN ]
Re:Swift – observations from Rust’s original designer
by keithwarren on Monday June 02, 2014 @09:19PM
(#7837622)
I 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.
Re:Swift – observations from Rust’s original designer
by chrisseaton on Monday June 02, 2014 @09:19PM
(#7837624)
I 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.
Re:Swift – observations from Rust’s original designer
by balakk on Tuesday June 03, 2014 @03:53AM
(#7838618)
One of the Swift developers is a former F# dev:
The language seems more closer to F# than C# to me. It's all good though!
Re:Swift – observations from Rust’s original designer
by iends on Tuesday June 03, 2014 @04:24PM
(#7842497)
He is also a former typescript developer.
Re:Swift – observations from Rust’s original designer
by rayiner on Monday June 02, 2014 @10:32PM
(#7837836)
Type parameters constrained by sets of method signatures dates to 1977: http://en.m.wikipedia.org/wiki/CLU_(programming_language). See also, Theta and some of Todd Millstien's work in the 1990s.