News for hackers. Stuff that matters.
Re:Swift 5: start your engines by saagarjha on Wednesday August 09, 2017 @03:43PM (#14972837)
> Do people enjoy rewriting code?

No, of course not. The way I see it, Swift is scared to go the "Java" route where backwards compatibility is valued above all else, leaving the language an antiquated mess.

Re:Swift 5: start your engines by jorgemf on Wednesday August 09, 2017 @03:47PM (#14972876)
I want to know the opinion of managers about what they think when they have to rewrite the app everytime there is a new release.

I remember all the time the iOs developer spent with every iOs release. He didn't look any happy

Re:Swift 5: start your engines by eridius on Wednesday August 09, 2017 @03:49PM (#14972899)
You don't have to "rewrite the app". You run the migrator, then fix up what it didn't migrate.

Swift 3 was notorious for having migrator issues, largely due to the fact that it was a pretty radical change and a huge number of method names were changed.

Personally, on our hybrid app, the migrator did about 1/3rd of the work, and I did the rest, without any other engineers' involvement. Overall it took maybe 3 days to migrate the whole app.

Re:Swift 5: start your engines by jorgemf on Wednesday August 09, 2017 @03:53PM (#14972941)
It was a way of talking. I said it that way because the migration to swift and from swift 1 to swift 2 we had the double of developers for iOs than Android and still have to wait for them because of so many issues they were having.

Seems like things are not that bad now. But stills scares me that with every new version you lose a developer for some days (or weeks).

Re:Swift 5: start your engines by dep_b on Wednesday August 09, 2017 @04:17PM (#14973169)
The whole 1.x to 2.0 stretch was a rough ride. I had to maintain software without From 2 to 3 was pretty OK since very little changed in the language only API's got updated. From 3 to 4 mainly adds stuff and doesn't break much.
Re:Swift 5: start your engines by saagarjha on Wednesday August 09, 2017 @04:11PM (#14973110)
It really doesn't take all that long. I've migrated apps consisting of 20K-30K lines of code in a couple hours–mind you, many of the changes were not due to Swift 4, but those in the Cocoa/Cocoa Touch Swift overlays.
Re:Swift 5: start your engines by jorgemf on Wednesday August 09, 2017 @04:25PM (#14973244)
I said to swift, I meant from objective-c to swift. And also from swift 1 to swift 2, where problems weren't only the language but the apis an integration with the old objective-c library. I doubt it takes a couple of hours do that stuff (hour project was close to 100k lines, to one day for you), but If it really takes you that short time companies are going to fight hard to hire you!
Re:Swift 5: start your engines by s73ver on Wednesday August 09, 2017 @04:01PM (#14973034)
Saying "rewrite the app" is pure hyperbole. You have a few things to update, but that's it.