Re:Swift is a lot like Scala
by benvan on Sunday August 24, 2014 @11:16AM
(#8218749)
I agree - the examples given are almost infuriating. Whilst I can't comment on how idiomatic the Swift code is, the Scala code is anything but. There's little benefit to using a language like Scala if you're going to count the number of apples and oranges in a list by incrementing a mutable var for each type.
[ Parent
| on HN ]