DEV Community

Discussion on: Swift for Web Developers

Collapse
 
restoreddev profile image
Andrew Davis

I have explored the web side of Swift a little, but only using small examples. I used a web framework called Vapor that seems pretty solid, but is still young. My gut reaction to Swift on the web is that it’s almost there, but still not worth using instead of Ruby, Python or PHP yet. Mainly because of the lack of maturity. I’m hoping it will get there soon though, because I really like the type safety and flexibility combo you get from Swift.

There is a whole side of Swift that is more functional that I didn’t discuss (it would make for a good post). Swift has tuples and enums which are used often with case statements to do pattern matching like Elixir/Erlang.

Collapse
 
rhymes profile image
rhymes

Thanks, very interesting! Now I just need to find the time to learn another programming language :-D

Collapse
 
gdahboy profile image
gdahboy

as i have read many other articles , i think swift best-use in api or web-apps that need an asynchronies functionality ... so comparing it to PHP i don't think that's true but comparing it to node , that's hell yes !! . Maybe in one or two year we will see perfect (a framework for swift server-side ) or vapor (another swift framework for server-side ) leading in GitHub .