Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
To me it's just another example of the Swift developers trying to prove they are smarter than the rest of us ...

Hopefully, programmers have learned something about how to do things slightly better (or better matched to current needs) in the 40+ years since C was invented (or still decades for most other languages).
 
I just read an article about Swift. It said 11% of the top 100 apps use Swift. It didn't get into how old the apps were or when they started development, but at least points out the challenge about legacy code.
 
You can easily add it back if you really need with something similar to this:

Code:
postfix operator ++ {}
postfix func ++(inout value: Int) -> Int {
value += 1
return value
}
 
O/T, I saw your Eventail. Looks pretty good. What's it written in? What does the develop get with the purchase?

It is 100% swift. To stay on topic I'll say that removing for-next loops and ++ operators took me about 2 minutes tops. They really are not necessary. I am also trying to remove even for-each loops wherever I can replace them with map/filter/reduce.
 
  • Like
Reactions: Jamone
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.