2 ms·
There are several reasons I'd say someone still needs to know Objective-C. Swift is still half-baked. No, make that quarter-baked. It is not newbie friendly. V
by mikeash 12y ago
There are several reasons I'd say someone still needs to know Objective-C.
Swift is still half-baked. No, make that quarter-baked. It is not newbie friendly. Vast areas are undocumented, the IDE is even more unstable than usual for Apple, the compiler crashes constantly (I probably crashed it more than a hundred times just in the first week), the standard library is lacking, etc. etc. All of this makes it pretty difficult for veterans to work with. If you're new to iOS, or god forbid new to programming in general, you're going to have an extremely difficult time.
Virtually all the sample code is in Objective-C. Discussions assume Objective-C. The APIs, though translated to Swift, are still rooted in Objective-C. Trying to follow all of this without knowing some Objective-C is going to be tough.
In a year or two, when the language is solidified, then going straight for Swift will probably be viable. But right now, it's a terrible choice for anyone new.
It has nothing to do with trying to protect our turf, and that's rather insulting. I feel no need to protect my turf, because as an arrogant dickhead, I feel secure in the knowledge that I will still be a better programmer than 90+% of the folks out there no matter how much good advice they get. I've never even heard of anyone remotely competent deliberately giving out bad advice to protect themselves.
- josephlord 12y agoBeta 3 might be half baked. The array semantics are fixed and it crashes far far less. For the first two betas quarter baked was definitely a fair description.