And I thought 2017 is the year when I start a new app in swift... guess will be sticking to objc and react native depending on what makes sense where.
Swift's Evolution
21–30 of 105 posts
Re: Swift's Evolution
#22Re: Swift's Evolution
#23Will Kotlin Native be able to compete with Swift on iOS? The syntax is very similar and it would make for a nice cross platform PL. I was holding off on Swift to see where it was going, but I'd like to add iOS to my dev targets. Objective-C was too verbose for me years ago, but I've heard it has changed a bunch.
Also swift and kotlin are very similar. The folks from kickstarter gave a great presentation about their android/iOS app being written in Swift/Kotlin at a conference I spoke at (UIkonf). Their whole mobile team writes/reviews for both platforms.
Re: Swift's Evolution
#24Re: Swift's Evolution
#25I use Swift daily in a mixed application of both languages. I worked with ObjC since back in the NeXT days and I used to like the language but today nothing could ever drive me back. Xcode on the other hand is nightmare I despise daily but that's a different issue. The sooner ObjC goes away the better.
Re: Swift's Evolution
#26This post hits it right on ... the renaming thing and the removal of traditional for loops ... I'm just bewildered by it. When I saw it, my reaction was ... WHY??? The incompatibilities between swift 2 and swift 3 made me thankful I did not invest the language prior to 3. While I stepped into it at this point, and think the language has a lot of potential (not changing the damn language .. I mean having a large eco s…
So, the question should be whether Apple should have prioritized new users of the language over their existing language users. I think they made the right call, more so because they pre-announced it. Not only didn't they claim the language was frozen, the specifically said it would see changes.
Re: Swift's Evolution
#27Earlier quoted context omitted.
> the removal of traditional for loops […] When I saw it, my reaction was ... WHY??? For all of these reasons, at least: https://github.com/apple/swift-evolution/blob/master/proposa...
Thanks for sharing that link. I found it quite an interesting read. (I much prefer Swift to ObjC after a conversion of about 10k lines in an iOS app). C style for loops come pretty early in most programming tutorials, but I wonder how much non-C programming does actually use them nowadays (from the Community Responses, it seems not much Swift courtesy of other options). Usually, a C style for would be to loop over an…
Meh. Many languages don't have c-style for loops in the first place. Neither Python nor Ruby do for instance. I don't think Rust ever had them either[0].
[0] https://www.reddit.com/r/rust/comments/2957fg/can_i_request_...
Re: Swift's Evolution
#28I get that if you're shipping Swift in production you want to refactor as little as possible, but it is pretty hard to come up with the ideal design straight out of the gate. Swift can stop evolving, but it will be THEN when it loses the reason to exist. If Swift is just going to be ObjC with a nicer syntax, (or the features that YOU personally find desirable), then why bother with it at all? Swift is trying to get its design right and that takes time, at the same time I wouldn't want to be stuck with a poorly designed language for the next 30 years, so it's worth the current turbulence for me.
(Rust was the same way 2011-2015 to a MUCH bigger degree and it did in fact eventually stabilize as promised.)
If it's that much of a problem, ObjC isn't going anywhere, it's your choice.
EDIT: Fixed a typo.
Re: Swift's Evolution
#29And I thought 2017 is the year when I start a new app in swift... guess will be sticking to objc and react native depending on what makes sense where.
Re: Swift's Evolution
#30I think the author misses the fact that Swift wasn't truly 'done' when it was introduced, (and still isn't). Objective-C had some 30+ years to evolve, but Swift can't have 3? I get that if you're shipping Swift in production you want to refactor as little as possible, but it is pretty hard to come up with the ideal design straight out of the gate. Swift can stop evolving, but it will be THEN when it loses the reason…
But I'm happy that people are playing with it and the language is being refined so that I can start using it in a few years.