

Finally; great to hear Apple is doing something right.
Swift really was an Apple master stroke. Objective-C was a tough language to master and this is a great language for new developers and those requiring a quick to market solution. I personally moved from C++ to Python on a professional basis and the step change in productivity was magnitudes higher (with C++ integration possible where high performance is required). I appreciate these languages also have their place when it comes to performance, but with a highly optimised compiler/interpreter, a scripting based language certainly has its place.
Objective-C actually has a pretty small and simple set of rules compared to Swift.
The challenging things with Obj-C, IMO, are the idea of message passing instead of calling functions/methods, and the funky syntax.
Once you get a handle on both of those, you're good to go (as far as languages, then there's the frameworks/design patterns you need to learn).
On the other hand, Apple's Swift book and the video courses I've done on Swift for each major release... the features and rules seem suffocating. Like Swift looks so much cleaner and easier at first, but once you really tour the language it gets a lot harder and complex, quick. Because Swift doesn't trust you the programmer, it trusts only the compiler.
And honestly, I think even though Apple pushes it, it's a really bad idea to start any project in Swift right now. There's eventually going to be some techtonic shift that's going to change the game entirely. Or in other words, what you see and learn today, won't apply tomorrow. They should be marketing this as a hobby and the default language for iOS and Mac dev for now.
I respect your opinion, but it is entirely false. We do not publish doom and gloom stories for clicks or to fulfill any other agenda. We truly try to report any news that is of any significance—good or bad. We really appreciate when our readers keep up informed by sending tips to tips@macrumors.com.Apple is doing a lot of things right. But like all other news sites, MR just chooses to report more negative news bc it generates more activities then positive ones. It's a pretty sad strategy though.
On the other hand, Apple's Swift book and the video courses I've done on Swift for each major release... the features and rules seem suffocating. Like Swift looks so much cleaner and easier at first, but once you really tour the language it gets a lot harder and complex, quick.
If your reaction to a programming language is that it cares too much about getting details right, programming is not for you.My opinion of Swift was that it is very regimented. You have to say the right thing, in the right way, or you get nothing.
It seems too hard, too 'fascist'. You have to do it their way. C was all about getting things done. If you really needed something done, you could lift heavy things with a small amount of code, and the language wasn't like a 'grammar Nazi', thumping you for every little thing. My first program in Swift wouldn't run because I did some little stupid thing wrong. I was surprised it cared. I was put off by it's attention to syntax details. It smacked of archaic languages like BASIC, and perhaps COBOL. YUCK!!!
But having a programming language on a yearly schedule to announce updates is getting ridiculous.
Either that, or I have to stop buying printed books,
and companies like Big Nerd Ranch have to start offering subscriptions to their ebooks so that the updates can be had for free for a certain yearly subscription. How about a 'lifetime update' ebook for Swift and Ojc-C for 'x' number of dollars...
How about a 'lifetime update' ebook for Swift and Ojc-C for 'x' number of dollars...
I've got several iterations of their books sitting around here. A programming language shouldn't be a 'commodity item'.
Isn't that part of what killed Java?
My opinion of Swift was that it is very regimented. You have to say the right thing, in the right way, or you get nothing.
It seems too hard, too 'fascist'. You have to do it their way. C was all about getting things done. If you really needed something done, you could lift heavy things with a small amount of code, and the language wasn't like a 'grammar Nazi', thumping you for every little thing.
My first program in Swift wouldn't run because I did some little stupid thing wrong. I was surprised it cared. I was put off by it's attention to syntax details. It smacked of archaic languages like BASIC,
and perhaps COBOL. YUCK!!!
I'll still rather learn Obj-C, thanks...
lol Swift is light years ahead of Obj-C in terms of readability. Hence why it's easier for new programmers to understand it. Veteran Obj-C programmers who have transitioned to Swift find Swift very clean, readable and modern.Having been an ObjC developer for years currently transitioning a few projects to Swift I do think Objective C is a much nicer language. Objective C is quite verbose so when future-me reads my code he can understand what is going on.
I find Swift very hard to digest. You can't just glance over a function and see what it does.
3rd party libraries are not required. It sometimes just makes it easier as many libraries for all languages do.With all the strong typing and stuff, I think that works well in a server environment but I don't think there's any value in a client app. Parsing JSON should not be hard, nor should it ever require a 3rd party library to do so.
How about a 'lifetime update' ebook for Swift and Ojc-C for 'x' number of dollars...
ARM based custom chips for Mac!
At this point I'll be very, very surprised if you have any inkling of what COBOL even looked like.
And honestly, I think even though Apple pushes it, it's a really bad idea to start any project in Swift right now. There's eventually going to be some techtonic shift that's going to change the game entirely. Or in other words, what you see and learn today, won't apply tomorrow. They should be marketing this as a hobby and the default language for iOS and Mac dev for now.
But having a programming language on a yearly schedule to announce updates is getting ridiculous.
Either that, or I have to stop buying printed books, and companies like Big Nerd Ranch have to start offering subscriptions to their ebooks so that the updates can be had for free for a certain yearly subscription. How about a 'lifetime update' ebook for Swift and Ojc-C for 'x' number of dollars...
I've got several iterations of their books sitting around here. A programming language shouldn't be a 'commodity item'. Isn't that part of what killed Java? All I kept hearing was deprecated functions and syntax from one release to another, and them being dropped. That's hard to follow... Makes for few friends...
While they keep compatibility and/or provide easy migration possibilities, and use the changes to improve the language and its environment (compiler, etc), I don't see how the updating could be seen as a negative.
lol Swift is light years ahead of Obj-C in terms of readability. Hence why it's easier for new programmers to understand it. Veteran Obj-C programmers who have transitioned to Swift find Swift very clean, readable and modern.
Totally disagree. What you're saying may have been true a year ago, but not today. And to be fair, Swift is actually simple for doing simple things. But if you have more complex requirements, it can also be very flexible, and with that flexibility comes complexity. That's the part that can be tricky to learn.
Another point is that Swift was designed to help write safe, stable software. That's why it's picky about types, nils, and so on. It may be trickier to learn, at first, than Java, but it's easier to make something stable, and harder to get into the strange and mysterious crashes and undefined behavior that you can fall into with Java (or Objective-C)... thus making it easier to write actual software (not just code).
I learned Swift with Apple's free iBook. They update it with every new release.