{"id":1839,"date":"2008-12-08T11:49:41","date_gmt":"2008-12-08T15:49:41","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=1839"},"modified":"2008-12-08T11:49:46","modified_gmt":"2008-12-08T15:49:46","slug":"from-c-to-objective-c","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2008\/12\/08\/from-c-to-objective-c\/","title":{"rendered":"From C++ to Objective-C"},"content":{"rendered":"<p><a href=\"http:\/\/ktd.club.fr\/programmation\/fichiers\/cpp-objc-en.pdf\">From C++ to Objective-C<\/a> (PDF) looks like a concise and useful book for experienced programmers who want to learn about Objective-C (via <a href=\"http:\/\/fullof.bs\/holy-crap-an-objective-c-text-that-doesnt-assume-youre-retarded\">John Haugeland<\/a>). Unlike the various paper books I&rsquo;ve seen, it isn&rsquo;t full of step-by-step example projects. Unlike <a href=\"http:\/\/developer.apple.com\/documentation\/Cocoa\/Conceptual\/ObjectiveC\/Introduction\/chapter_1_section_1.html#\/\/apple_ref\/doc\/uid\/TP30001163-CH1-SW2\">Apple&rsquo;s book<\/a>, it has lots of comparisons with C++ and advice about common techniques. However, it could use some technical review. For example, page 25 cites Wil Shipley&rsquo;s <a href=\"http:\/\/wilshipley.com\/blog\/2005\/07\/self-stupid-init.html\">incorrect<\/a> <a href=\"http:\/\/wilshipley.com\/blog\/2005\/07\/code-insults-mark-i.html\">recommendation<\/a> to avoid <code>self = [super init]<\/code>. In fact, this idiom <a href=\"http:\/\/www.cocoabuilder.com\/archive\/message\/cocoa\/2008\/2\/11\/198591\">makes sense<\/a> and is <a href=\"http:\/\/developer.apple.com\/documentation\/Cocoa\/Conceptual\/ObjectiveC\/Articles\/chapter_4_section_4.html#\/\/apple_ref\/doc\/uid\/TP30001163-CH22-SW4\">recommended by Apple<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>From C++ to Objective-C (PDF) looks like a concise and useful book for experienced programmers who want to learn about Objective-C (via John Haugeland). Unlike the various paper books I&rsquo;ve seen, it isn&rsquo;t full of step-by-step example projects. Unlike Apple&rsquo;s book, it has lots of comparisons with C++ and advice about common techniques. However, it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1839","post","type-post","status-publish","format-standard","hentry","category-programming-category"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1839","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=1839"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1839\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=1839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=1839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=1839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}