{"id":11860,"date":"2025-04-08T10:20:32","date_gmt":"2025-04-08T02:20:32","guid":{"rendered":"https:\/\/1989lifejourney.com\/?p=11860"},"modified":"2025-04-08T10:22:20","modified_gmt":"2025-04-08T02:22:20","slug":"ai%e8%bc%94%e5%8a%a9%e5%af%abcode%e5%84%aa%e7%bc%ba%e9%bb%9e%e8%a8%8e%e8%ab%96","status":"publish","type":"post","link":"https:\/\/1989lifejourney.com\/?p=11860","title":{"rendered":"AI\u8f14\u52a9\u5bebcode\u512a\u7f3a\u9ede\u8a0e\u8ad6"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>AI\u8f14\u52a9\u5bebcode\u512a\u7f3a\u9ede\u8a0e\u8ad6(p.s. \u5c1a\u672a\u7d93\u904e\u5718\u968a\u5c08\u6848\u9a57\u8b49\uff0c\u50c5\u4f9b\u53c3\u8003):<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. function\u7684\u64b0\u5beb<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. class\u7684\u64b0\u5beb<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. Debug\u90e8\u5206<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>4. \u5b9a\u7fa9spec\u548c\u67b6\u69cb\u8a2d\u8a08\u90e8\u5206<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>5. PM\u548c\u5de5\u7a0b\u5e2b\u548c\u6e2c\u8a66\u5de5\u7a0b\u5e2b\u4e4b\u9593\u7684\u6e9d\u901a<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>6. \u8a8d\u77e5\u8207\u7406\u89e3\u4e0a\u7684\u843d\u5dee<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8a73\u7d30\u5206\u6790:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. function\u7684\u64b0\u5beb<\/strong>\uff0c\u57fa\u672c\u4e0a\u4ed6\u80fd\u5920\u505a\u5f97\u53c8\u5feb\u53c8\u597d(p.s. \u524d\u63d0\u662f\u4f60\u4e0b\u7684prompt\u5920\u597d\u6216\u7b26\u5408\u8a72model\u7684\u671f\u671b)\uff0c\u4f46\u4e0d\u6392\u9664\u4f60\u9700\u8981\u81ea\u5df1\u5fae\u8abf<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AI\u5728\u751f\u6210function\u6642\u53ef\u80fd\u6703\u5ffd\u7565\u908a\u754c\u689d\u4ef6\uff08edge cases\uff09\u6216\u6548\u80fd\u512a\u5316<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. class\u7684\u64b0\u5beb<\/strong>\uff0c\u5982\u679c\u4e0d\u727d\u6d89\u5230depend on third party code or legacy code\uff0c\u61c9\u8a72\u4e5f\u662f\u6c92\u554f\u984c (p.s. \u73fe\u5be6\u662f\u4e00\u5806\u5730\u65b9\u6703\u9700\u8981\u4f60\u81ea\u5df1\u624b\u5de5\u8655\u7406)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AI\u5728\u9762\u5c0d\u8907\u96dc\u7684\u7269\u4ef6\u5c0e\u5411\u8a2d\u8a08\uff08\u4f8b\u5982\u7e7c\u627f\u3001\u591a\u578b\uff09\u6642\uff0c\u53ef\u80fd\u6703\u751f\u6210\u904e\u65bc\u7c21\u55ae\u6216\u4e0d\u7b26\u5408\u5be6\u969b\u9700\u6c42\u7684\u7d50\u69cb\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. Debug\u90e8\u5206<\/strong>\uff0c\u7206\u809d\u5de5\u7a0b\u5e2b\u9084\u662f\u5f88\u9700\u8981\uff0c\u7279\u5225\u662f\u300cworkaround\u300d\u6216\u300clegacy code\u300d\u7684\u554f\u984c<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AI\u53ef\u80fd\u7121\u6cd5\u6709\u6548\u8655\u7406\u9700\u8981\u7279\u5b9a\u696d\u52d9\u908f\u8f2f\u7684bug\uff0c\u6216\u8005\u5728\u591a\u57f7\u884c\u7dd2\u554f\u984c\u4e0a\u675f\u624b\u7121\u7b56\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>4. \u5b9a\u7fa9spec\u548c\u67b6\u69cb\u8a2d\u8a08\u90e8\u5206<\/strong>\uff0c\u64c1\u6709domain knowledge\u6216\u8de8domain knowledge\u7684\u67b6\u69cb\u5e2b\u6216\u8cc7\u6df1\u5de5\u7a0b\u5e2b\u9084\u662f\u8d0f\u904eAI<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AI\u76ee\u524d\u78ba\u5be6\u96e3\u4ee5\u53d6\u4ee3\u4eba\u985e\u5728\u9ad8\u5c64\u6b21\u6c7a\u7b56\u4e0a\u7684\u6d1e\u5bdf\u529b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>5. PM\u548c\u5de5\u7a0b\u5e2b\u548c\u6e2c\u8a66\u5de5\u7a0b\u5e2b\u4e4b\u9593\u7684\u6e9d\u901a<\/strong>\uff0c\u9019\u500b\u561b\uff0cAI\u53ef\u4ee5\u64d4\u4efb\u300c\u88ab\u300d\u63a8\u8cac\u4efb\u7684\u89d2\u8272(X) \u5e6b\u4e0d\u4e0a\u5fd9(O)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AI\u53ef\u80fd\u5728\u751f\u6210\u6703\u8b70\u8a18\u9304\u6216\u6587\u4ef6\u8349\u7a3f\u4e0a\u6709\u4e9b\u8f14\u52a9\u4f5c\u7528\uff0c\u4f46\u7121\u6cd5\u89e3\u6c7a\u8a8d\u77e5\u843d\u5dee\u6216\u885d\u7a81\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>6. \u8a8d\u77e5\u8207\u7406\u89e3\u4e0a\u7684\u843d\u5dee<\/strong>\uff0c\u9019\u500b\u561b\uff0c\u80fd\u6709\u6548\u7684\u6e9d\u901a\u8b8a\u6210\u5de5\u7a0b\u5e2b\u6700\u91cd\u8981\u7684\u7b2c\u4e00\u6027\u539f\u7406<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AI\u53ef\u80fd\u8aa4\u89e3\u9700\u6c42\u4e2d\u7684\u96b1\u542b\u610f\u5716\uff08implicit intent\uff09\uff0c\u5c0e\u81f4\u7522\u51fa\u8207\u9810\u671f\u4e0d\u7b26\u3002AI\u7684\u89d2\u8272\u66f4\u591a\u662f\u5de5\u5177\uff0c\u800c\u975e\u7406\u89e3\u8005\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">=======<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u5099\u8a3b:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note\u90e8\u5206\u7684\u5167\u5bb9\u662f\u7531Grok AI\u4f86\u88dc\u5145\u8aaa\u660e\uff5e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AI\u8f14\u52a9\u5bebcode\u512a\u7f3a\u9ede\u8a0e\u8ad6(p.s. \u5c1a\u672a\u7d93\u904e\u5718\u968a\u5c08\u6848\u9a57\u8b49\uff0c\u50c5\u4f9b\u53c3\u8003): 1. function\u7684\u64b0\u5beb 2. [&hellip;]<\/p>\n","protected":false},"author":139426785,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_postgate_lock_override":"inherit","_postgate_lock_mode":"inherit","_postgate_preview_mode":"inherit","_postgate_preview_limit":0,"_postgate_product_ids":[],"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","jetpack_seo_llms_txt_always_include":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[37324612,11176,55138170,1],"tags":[],"post_folder":[],"class_list":["post-11860","post","type-post","status-publish","format-standard","hentry","category-ios-development","category-software-engineering","category-technology-sharing","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paR5vw-35i","jetpack-related-posts":[{"id":8575,"url":"https:\/\/1989lifejourney.com\/?p=8575","url_meta":{"origin":11860,"position":0},"title":"ChatGPT\u4f7f\u7528\u5fc3\u5f97","author":"Kevin","date":"16 10 \u6708, 2023","format":false,"excerpt":"ChatGPT\u7684\u61c9\u7528\u9818\u57df ChatGPT\u512a\u7f3a\u9ede \u500b\u4ebaChatGPT\u4f7f\u7528\u5fc3\u5f97 \u61c9\u7528\u9818\u57df\uff1a \u5ba2\u6236\u670d\u52d9\uff1aC\u2026","rel":"","context":"\u5728\u300cChatGPT\u300d\u4e2d","block_context":{"text":"ChatGPT","link":"https:\/\/1989lifejourney.com\/?cat=760577830"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7887,"url":"https:\/\/1989lifejourney.com\/?p=7887","url_meta":{"origin":11860,"position":1},"title":"ChatGPT\u5beb\u7a0b\u5f0f\u80fd\u53d6\u4ee3\u5de5\u7a0b\u5e2b\uff1f","author":"Kevin","date":"15 4 \u6708, 2023","format":false,"excerpt":"Created by Bing Image Creator \u5beb\u7a0b\u5f0f\u78bc\u4e2d\u5eb8\u7684\u4eba\u5176\u5be6\u5f88\u591a\uff0c\u5e38\u602a\u7d44\u7e54\u7684\u6642\u7a0b\u2026","rel":"","context":"\u985e\u4f3c\u6587\u7ae0","block_context":{"text":"\u985e\u4f3c\u6587\u7ae0","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2023\/04\/61b66691-643f-495e-b1ae-83e296fdf051.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2023\/04\/61b66691-643f-495e-b1ae-83e296fdf051.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2023\/04\/61b66691-643f-495e-b1ae-83e296fdf051.jpeg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2023\/04\/61b66691-643f-495e-b1ae-83e296fdf051.jpeg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4291,"url":"https:\/\/1989lifejourney.com\/?p=4291","url_meta":{"origin":11860,"position":2},"title":"MVC\u3001MVP\u3001MVVM\u7684\u7279\u6027\uff08for IOS\uff09","author":"Kevin","date":"7 2 \u6708, 2022","format":false,"excerpt":"MVC: MVC\u5c07\u7a0b\u5f0f\u5206\u70ba\u4e09\u90e8\u5206\uff0cModel\u3001View\u3001Controller\uff0c\u4f46\u5728IOS\u4e2d\uff0cView\u2026","rel":"","context":"\u5728\u300cIOS Development\u300d\u4e2d","block_context":{"text":"IOS Development","link":"https:\/\/1989lifejourney.com\/?cat=37324612"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":21916,"url":"https:\/\/1989lifejourney.com\/?p=21916","url_meta":{"origin":11860,"position":3},"title":"(AI\u8f14\u52a9\u64b0\u5beb) \u5546\u696d\u7cfb\u7d71\u4e2d\u4e09\u500b\u689d\u4ef6 &#8211; \u4f7f\u7528\u8005\u50f9\u503c\u3001\u6280\u8853\u53ef\u884c\u6027\u8207\u5546\u696d\u53ef\u884c\u6027\u7684\u95dc\u4fc2\u3001\u512a\u5148\u9806\u5e8f\u3001\u4f9d\u8cf4\u95dc\u4fc2","author":"Kevin","date":"16 11 \u6708, 2026","format":false,"excerpt":"AI \u4f7f\u7528\u8072\u660e: \u672c\u6587\u7684\u7814\u7a76\u65b9\u5411\u3001\u554f\u984c\u8a2d\u5b9a\u8207\u4e3b\u8981\u5206\u6790\u89c0\u9ede\u7531\u4f5c\u8005\u63d0\u51fa\uff0c\u4e26\u4f7f\u7528AI\u5de5\u5177\u8f14\u52a9\u8cc7\u6599\u67e5\u8b49\u3001\u8ad6\u8b49\u2026","rel":"","context":"\u985e\u4f3c\u6587\u7ae0","block_context":{"text":"\u985e\u4f3c\u6587\u7ae0","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2026\/10\/IMG_0824.jpg?fit=900%2C1200&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2026\/10\/IMG_0824.jpg?fit=900%2C1200&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2026\/10\/IMG_0824.jpg?fit=900%2C1200&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2026\/10\/IMG_0824.jpg?fit=900%2C1200&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":16575,"url":"https:\/\/1989lifejourney.com\/?p=16575","url_meta":{"origin":11860,"position":4},"title":"Senior\/Junior\/AI coding\u5dee\u7570\u5206\u6790 (AI\u6574\u7406)","author":"Kevin","date":"2 9 \u6708, 2026","format":false,"excerpt":"Junior \u5728\u5b8c\u6210\u65b9\u6848\u3002AI \u5728\u751f\u6210\u65b9\u6848\u3002Senior \u5728\u4ef2\u88c1\u65b9\u6848\uff0c\u5fc5\u8981\u6642\u9023\u300c\u554f\u984c\u539f\u672c\u662f\u600e\u9ebc\u88ab\u5b9a\u7fa9\u2026","rel":"","context":"\u985e\u4f3c\u6587\u7ae0","block_context":{"text":"\u985e\u4f3c\u6587\u7ae0","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4276,"url":"https:\/\/1989lifejourney.com\/?p=4276","url_meta":{"origin":11860,"position":5},"title":"IOS\u5be6\u4f5cUI\u65b9\u5f0f\u6bd4\u8f03(Storyboard v.s. Xib v.s. Code)","author":"Kevin","date":"6 2 \u6708, 2022","format":false,"excerpt":"\u4ee5\u4e0b\u5167\u5bb9\u4f86\u81ea\u8aaa\u8aaa Storyboard vs NIBs vs Code Storyboard \u512a\u9ede\uff1a\u2026","rel":"","context":"\u5728\u300cIOS Development\u300d\u4e2d","block_context":{"text":"IOS Development","link":"https:\/\/1989lifejourney.com\/?cat=37324612"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts\/11860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/users\/139426785"}],"replies":[{"embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11860"}],"version-history":[{"count":5,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts\/11860\/revisions"}],"predecessor-version":[{"id":11865,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts\/11860\/revisions\/11865"}],"wp:attachment":[{"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11860"},{"taxonomy":"post_folder","embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpost_folder&post=11860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}