Live data from Hacker News

The Decade of Swift

swiftbysundell.com

1–10 of 145 posts

Re: The Decade of Swift

#2
Can someone sell me on Swift over dart or kotlin? They seem to be direct competitors.

Since we're talking about the future of programming, can someone sell me on Swift instead of ocaml, SML, or F#?

I don't see a good reason to pick it outside of targeting Apple devices.

Re: The Decade of Swift

#3
post #2

Can someone sell me on Swift over dart or kotlin? They seem to be direct competitors. Since we're talking about the future of programming, can someone sell me on Swift instead of ocaml, SML, or F#? I don't see a good reason to pick it outside of targeting Apple devices.

At the moment, there isn’t.

Re: The Decade of Swift

#4
post #2

Can someone sell me on Swift over dart or kotlin? They seem to be direct competitors. Since we're talking about the future of programming, can someone sell me on Swift instead of ocaml, SML, or F#? I don't see a good reason to pick it outside of targeting Apple devices.

Many developers focus on a single platform, so for those living on Apple world, Swift is an welcomed improvement over Objective-C.

Outside of Apple platforms it is pretty much WIP.

Re: The Decade of Swift

#5
post #2

Can someone sell me on Swift over dart or kotlin? They seem to be direct competitors. Since we're talking about the future of programming, can someone sell me on Swift instead of ocaml, SML, or F#? I don't see a good reason to pick it outside of targeting Apple devices.

I mean, that is the only reason. It's a first party language in the Apple ecosystem. If you are working outside that ecosystem, there are better choices.

Re: The Decade of Swift

#6
post #2

Can someone sell me on Swift over dart or kotlin? They seem to be direct competitors. Since we're talking about the future of programming, can someone sell me on Swift instead of ocaml, SML, or F#? I don't see a good reason to pick it outside of targeting Apple devices.

Outside of targeting Apple devices, the biggest upside would probably be that way more people are using and writing about Swift than those other languages.

Re: The Decade of Swift

#7
With Chris Lattner's move to Google and the state of Java it would interesting to see Google embrace Swift and add official support for it to Android.

Re: The Decade of Swift

#8
post #7

With Chris Lattner's move to Google and the state of Java it would interesting to see Google embrace Swift and add official support for it to Android.

Google will be making making it easier for devs to write portable mobile apps. But it will also need android deva to learn new language.

Re: The Decade of Swift

#9
post #2

Can someone sell me on Swift over dart or kotlin? They seem to be direct competitors. Since we're talking about the future of programming, can someone sell me on Swift instead of ocaml, SML, or F#? I don't see a good reason to pick it outside of targeting Apple devices.

The nice thing about Swift is that many broad programming patterns will ultimately be shared between Swift and Rust, and Swift has better support on Apple platforms. That's quite nice if everything you've had available before was Objective C or Objective/C++.

Re: The Decade of Swift

#10
I hate to say this, but Swift is to Objective-c, what Scala is to Java....

It was very exiting and promising at first, but it became bogged down due to its sheer run-away complexity and over-academic approach to programming....

To an outsider, or iOS new comer, Swift looks much better than Objective-c, (due to Objective-c weird syntax), but to many insiders, Swift seems like a huge missed opportunity...

The use of Swift, outside Apple's ecosystem is going to be limited.

Post reply on HN