4 ms·
I don't intend to belittle the author's writeup of their experience with Objective-C. I've been working with the language off and on for over ten years, now, an
by aaronbrethorst 13y ago
I don't intend to belittle the author's writeup of their experience with Objective-C. I've been working with the language off and on for over ten years, now, and have been working almost exclusively in it professionally for the last 3 or 4, and I have a ton of complaints about it. But...
With one exception, I feel like this entire post could be summed up as 'I don't like dynamic languages, static typing FTW!' The one exception is with regard to merging pbxproj files, which, I agree, is a fantastically awful experience. The only worse experience I have ever had working with this stack is in trying to merge XIBs (short answer: just don't even bother trying).
- mikeash 13y agoGetting off topic, but have you seen the new xib format in Xcode 5? It's totally different and way better. I haven't actually tried merging one yet, but I'm highly optimistic for when it comes up.
- aaronbrethorst 13y agoNo, I haven't. I'm guessing you have to either explicitly upgrade your existing XIBs to it, or recreate them? Thanks for the head's up, I'll check it out. Also, thanks again for the ridiculously awesome blog. It's been one of my favorite reads for years. edit: OK, I had a chance to check out the file format. This looks far more sane and human-readable than it has in the past. Related: I will happily pay $100 to anyone for a piece of software that has an auto layout constraint generator that works with XIB files and doesn't suck.
- mikeash 13y agoI think you have to manually convert existing ones. I'm fuzzy on the exact details, but I think there's a popup in the right-side info pane that lets you choose which Xcode version (and thus which format) you want to use for the xib. Glad you like the blog!
- Strilanc 13y agoThe type system is definitely where I feel the most friction. However, I think a summary of "dynamic bleh" omits the bits of praise and discussion that I consider important to the content. I'm also not sure if nil-vs-null counts as dynamic-vs-static.