Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
When language designers "decide" and then never change the language ever again, you get Java. Now take a moment to think how lucky you are ;)
-
@fuckfuckityfuck No, but I mean apple take it to a whole new level. Changing the for loop design from c style to some random shit with dots. Changing objects from NSSets to generics and then back. I'm talking about real simple shit that was fine how it was. Btw, JavaRules
-
@fuckfuckityfuck Its bizarre right, if it was actually functional stuff fine. But this is mostly aesthetics. They could have easily finalised these decisions on 1.0. But I'm cool with the added functionality.
-
Luckily, Xcode does most of the work for you. Now if it could only properly find syntax errors in block statements instead of saying the enclosing function signature is wrong.
-
They've been perfectly open on what's changing and that the language is not final. If you can't handle it, use ObjC. Xcode also will convert a lot of it for you.
Also three dots like 1...5 loops 1,2,3,4,5. Two dots and a < like 1..<5 loops 1,2,3,4.
Related Rants
Swift changes syntax again! Apple is treating their language like an Apple product. Why can't they decide? What's that? you have a project? Goodluck converting your code when we decide to change everything ;)
undefined
swift