{"id":1707,"date":"2008-04-21T14:16:26","date_gmt":"2008-04-21T18:16:26","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=1707"},"modified":"2008-05-06T10:52:21","modified_gmt":"2008-05-06T14:52:21","slug":"from-win32-to-cocoa","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2008\/04\/21\/from-win32-to-cocoa\/","title":{"rendered":"From Win32 to Cocoa"},"content":{"rendered":"<p><a href=\"http:\/\/arstechnica.com\/articles\/culture\/what-microsoft-could-learn-from-apple.ars\">Peter Bright<\/a> (via <a href=\"http:\/\/log.scifihifi.com\/post\/32415179\">Buzz Andersen<\/a>):<\/p>\n<blockquote cite=\"http:\/\/arstechnica.com\/articles\/culture\/what-microsoft-could-learn-from-apple.ars\"><p>This approach&mdash;forced on it due to screwing up the Copland project&mdash;put Apple in a strong position. The new OS was free of many of the legacy constraints that the Copland approach would have caused; the clumsy old APIs were restricted to the Classic environment, and they didn&rsquo;t form a part of the modern OS core. Although the new APIs were not entirely new&mdash;the Obj-C Cocoa API was based on the NeXTstep API, and Carbon was similar to the old Mac OS API&mdash;they were cleaned up, allowing bad decisions of the past to be fixed.\n<\/p>\n<p>[&#8230;]<\/p>\n<p>Win16 was never well-designed in the first place, and Win32 has replicated poor decisions in abundance. Win32 is a big API; it&rsquo;s really huge, many thousands of API calls, and it&rsquo;s totally inconsistent. It&rsquo;s inconsistent in every way imaginable.<\/p><\/blockquote>\n<p>I imagine this is improved in .NET, though.<\/p>\n<p>Update: <a href=\"http:\/\/arstechnica.com\/articles\/culture\/microsoft-learn-from-apple-II.ars\">Part II<\/a> addresses .NET.<\/p>","protected":false},"excerpt":{"rendered":"<p>Peter Bright (via Buzz Andersen): This approach&mdash;forced on it due to screwing up the Copland project&mdash;put Apple in a strong position. The new OS was free of many of the legacy constraints that the Copland approach would have caused; the clumsy old APIs were restricted to the Classic environment, and they didn&rsquo;t form a part [&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-1707","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\/1707","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=1707"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1707\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=1707"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=1707"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=1707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}