top | item 7889498

(no title)

tendom | 11 years ago

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.

discuss

order

Glide|11 years ago

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.

tendom|11 years ago

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.