Re:Swift 5.3 Will Be Supported on Windows and Additional Lin...
by The_rationalist on Saturday May 16, 2020 @07:03AM
(#23202416)
Could you argue why?
[ Parent
| on HN ]
Re:Swift 5.3 Will Be Supported on Windows and Additional Lin...
by AsyncAwait on Saturday May 16, 2020 @07:49AM
(#23202652)
A lot more emphasis on functional programming & nicer syntax around it, preference of value types over reference types and immutability by default/opt in mutability, nicer parsing with Codable, nice pattern matching and destructuring syntax, native binaries by default, more flexible memory management.
Re:Swift 5.3 Will Be Supported on Windows and Additional Lin...
by The_rationalist on Saturday May 16, 2020 @07:40PM
(#23208134)
Modern C# has both destructuring and pattern matching in switchs.
The memory model of swift seems obscolete, reference counting does not catch reference cycles and swift isn't faster than C#
C# isn't really missing features vs swift but it might have a less modern syntax
Re:Swift 5.3 Will Be Supported on Windows and Additional Lin...
by AsyncAwait on Sunday May 17, 2020 @05:31AM
(#23210811)
In regards to the memory model, I am not talking about reference counting, but rather [1].