Hacker News new | ask | show | jobs
by bsaul 2090 days ago
I would say algebraic data type is the number 1 reason Swift is becoming so popular.

The syntax may not be as elegant as ML languages, but it's still by far the best amongst the "mainstream" languages.

1 comments

> I would say algebraic data type is the number 1 reason Swift is becoming so popular.

Let's not kid ourselves - iOS is the #1 reason Swift has any popularity at all. Outside of the Apple ecosystem Swift is practically non-existent.

fair enough. By "popular" i should have said "beloved".

Objective-c was hated by pretty much everyone, and was mainly used because of iOS.

i've yet to find an iOS developer that actually doesn't wish he could code in swift on the server side. It's a really pleasant language.

However, I would be interested in server-side Swift if anyone has good use cases or resources.