top | item 18091306

(no title)

thelastidiot | 7 years ago

A bit useless. Are they using it in the top ten (mail, web, cal, clock, etc.)? How much of Swift compared to ObjC code? Those are the real answers I would expect to read in your article.

discuss

order

coldtea|7 years ago

And all those answers are IN the article.

>Are they using it in the top ten (mail, web, cal, clock, etc.)?

No.

>How much of Swift compared to ObjC code?

Much less.

It makes sense too. You don't rewrite perfectly good programs in a new language just for the fun of it.

tormeh|7 years ago

>perfectly good programs

The Holy Grail of software engineering

ericlewis|7 years ago

it is indeed used in a few top 10 apps

sigjuice|7 years ago

Apps that predate Swift will likely contain little to no Swift. There is no good reason for it to be otherwise.

jernfrost|7 years ago

I rewrote a commerical app to Swift and saw a lot of advantages. The rewrite uncovered a number of bugs due to the stricter type checking, and general strictness (no unitialized variables e.g).

It also allowed us to get more people involved in development. People new to apple development found Objective-C to be a bigger barrier. Odd syntax and a bit old fashion.

Mind you I quite liked Objective-C. But it seems a bit pointless when you got Swift.

ericlewis|7 years ago

dock is one of the oldest apps on macOS, was rewritten in swift when it was announced.