News for hackers. Stuff that matters.
Re:Why Rubyist Will Love Swift by asolove on Friday June 13, 2014 @11:31AM (#7889316)
The comparisons with scala and c++ are stronger. This is a large language, with a lot of complexity from having to maintain compatibility with an existing environment, plus lots of new concepts bolted on top. Like those languages, the time to basic proficiency may be faster than with their predecessors, but the time to mastery will be much longer.
Re:Why Rubyist Will Love Swift by tendom on Friday June 13, 2014 @12:04PM (#7889498)
Scala, yes, but not C++ at all. Indirectly from C#, perhaps (and there is a fair bit of that), but there is very little that borrows from C++ at the language level.
Re:Why Rubyist Will Love Swift by Glide on Friday June 13, 2014 @12:34PM (#7889654)
Oh I would love to see a write up comparing it with Scala idioms. As a person who has done C# for a while a lot of idioms translate very well to Swift.

The if let x = whatever {} syntax in Swift is damn brilliant after looking at a ton of C# code with the as check.

Re:Why Rubyist Will Love Swift by nileshk on Friday June 13, 2014 @01:18PM (#7889861)
Here is a Swift vs Scala syntax comparison:

https://leverich.github.io/swiftislikescala/

And also, a comparison to C#:

http://pietschsoft.com/post/2014/06/07/Basic-Comparison-of-C...

Re:Why Rubyist Will Love Swift by tendom on Friday June 13, 2014 @12:46PM (#7889716)
I agree, there are more than a few features I'd like to see C# adopt from this, and that's a big one. Proper string interpolation is another.