{"id":9038,"date":"2015-05-06T23:59:56","date_gmt":"2015-05-07T07:59:56","guid":{"rendered":"http:\/\/www.horace.org\/blog\/?p=9038"},"modified":"2015-10-28T15:08:51","modified_gmt":"2015-10-28T23:08:51","slug":"21st-century-c-2nd-edition-ben-klemens","status":"publish","type":"post","link":"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/","title":{"rendered":"21st Century C, 2nd Edition &#8211; Ben Klemens"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/05\/lrg.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"9039\" data-permalink=\"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/lrg\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/05\/lrg.jpg?fit=500%2C656&amp;ssl=1\" data-orig-size=\"500,656\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"lrg\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/05\/lrg.jpg?fit=474%2C622&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/05\/lrg-229x300.jpg?resize=229%2C300\" alt=\"\" width=\"229\" height=\"300\" class=\"alignnone size-medium wp-image-9039\" srcset=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/05\/lrg.jpg?resize=229%2C300&amp;ssl=1 229w, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/05\/lrg.jpg?resize=114%2C150&amp;ssl=1 114w, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/05\/lrg.jpg?resize=400%2C525&amp;ssl=1 400w, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/05\/lrg.jpg?w=500&amp;ssl=1 500w\" sizes=\"auto, (max-width: 229px) 100vw, 229px\" \/><\/a><\/p>\n<p>\u9019\u672c\u66f8\u4e0d\u9069\u5408\u5b78\u5beb\u7a0b\u5f0f\u7684\u521d\u5fc3\u8005\u770b\uff0c\u4e0d\u904e\u4eca\u6642\u4eca\u65e5\u6709\u66f4\u591a\u66f4\u65b0\u66f4\u6613\u5b78\u7684\u8a9e\u8a00\uff0c\u76f8\u4fe1\u6c92\u6709\u521d\u5b78\u8005\u6703\u63c0\u5b78\u5f9eC\u958b\u59cb\u4e0b\u624b\u3002\u9019\u672c\u66f8\u5beb\u7d66\u5169\u985e\u4eba\u770b\uff0c\u4e00\u985e\u662f\u6211\u9019\u7a2e\u5341\u5e7e\u5e74\u524d\u5b78\u904e\u4e0bC\uff0c\u653e\u4f4e\u5f88\u4e45\u73fe\u5728\u8981\u66f4\u65b0\u77e5\u8b58\uff0c\u53e6\u4e00\u985e\u662f\u6709\u5176\u4ed6\u7a0b\u5f0f\u8a9e\u8a00\u5e95\u5b50\u7684\u4eba\u3002\u9019\u672c\u66f8\u8207\u6211\u521d\u5b78\u5beb\u7a0b\u5f0f\u90a3\u500b\u5e74\u4ee3\u7684\u8ab2\u672c\u5f88\u4e0d\u540c\uff0c\u5176\u7de8\u6392\u5b8c\u5168\u8f15\u8996C\u8a9e\u8a00\u7684\u6587\u6cd5\u548c\u683c\u5f0f\uff08syntax\uff09\u3002\u5176\u4ed6\u50b3\u7d71C\u8ab2\u672c\u5927\u534a\u672c\u66f8\u8b1bsyntax\uff0c\u5462\u672c\u66f8\u5c31\u7528\u6700\u5c3e\u4e00\u500b\u9644\u9304\u55ae\u7c21\u4ecb\u7d39\u4e0b\u5c31\u7b97\u3002\u53cd\u6b63\u90a3\u4e9b\u6771\u897f\u4e0d\u7528\u6b7b\u80cc\uff0c\u53ef\u4ee5\u843d\u624b\u843d\u8173\u6642\u624d\u908a\u505a\u908a\u5b78\uff0c\u6709IDE auto-complete\u53c8\u6709\u7db2\u4e0a\u53c3\u8003\uff0c\u53c8\u771f\u4fc2\u5514\u61c9\u8a72\u6d6a\u8cbb\u58a8\u6c34\u3002<\/p>\n<p>\u9019\u672c\u66f8\u4e00\u958b\u59cb\u82b1\u4e09\u5206\u4e00\u672c\u66f8\u8b1b\u8207C\u6c92\u6709\u76f4\u63a5\u95dc\u4fc2\u7684\u6771\u897f\uff0c\u4e0d\u904e\u73fe\u4eca\u5bebC\u7a0b\u5f0f\u4e00\u5b9a\u6709\u7528\u7684\u5de5\u5177\u8edf\u4ef6\uff0c\u5982gcc\uff0cgit\uff0cmakefile\u7b49\uff0c\u9084\u6709\u4e00\u4e9b\u66f4\u6df1\u5165\u7684Linux\u984c\u6750\u5982\u6574package\uff0c\u4e5c\u91ce\u4fc2process\uff0c\u9ede\u5bebdynamic library\u7b49\u3002\u4ee5\u524d\u5b78\u5bebC\uff0c\u8ab2\u672c\u9023\u5982\u4f55compile\u500bprogram\u4e5f\u4e0d\u6703\u6559\u4f60\uff0c\u4e00\u958b\u59cb\u8001\u9f20\u62c9\u9f9c\u4e0d\u77e5\u5982\u4f55\u4e0b\u624b\u3002\u5b78\u9019\u4e9b\u6771\u897f\u8aaa\u96e3\u4e0d\u96e3\uff0c\u8aaa\u6613\u4e0d\u6613\uff0c\u4e0d\u904e\u9019\u672c\u66f8\u628a\u5b83\u5011\u653e\u5728\u4e00\u8d77\uff0c\u6709\u9f4a\u5f9e\u96f6\u5230\u8edf\u4ef6\u51fa\u8857\u4e00\u689d\u9f8d\u6240\u6709\u5fc5\u8981\u6b65\u9a5f\uff0c\u5341\u5206\u65b9\u4fbf\u3002\u8ab2\u672c\u8b1b\u7684\u4e3b\u6d41opensource\u61c9\u7528\u5de5\u5177\uff0c\u4e0d\u904e\u77e5\u9053\u5de5\u5177\u7684\u985e\u5225\u548c\u540d\u7a31\u5f8c\uff0c\u4e0d\u8271search\u66f4\u52a0\u597d\u7528\u7684point tool\u3002<\/p>\n<p>\u597d\u4e86\uff0c\u8ad6\u5230\u4e3b\u83dc\u4e0a\u789f\uff0c\u7d42\u65bc\u5165\u6b63\u984c\u8b1bC\u3002\u4e00\u9ece\u5c31\u51fa\u6700\u5805\u4fc2\uff0c\u8b1bpointer\u3002\u592bpointer\u8005\uff0cC\u4e4b\u4e0a\u4e58\u5167\u529f\u5fc3\u6cd5\u4e5f\uff0c\u53ea\u8981\u7cbe\u901a\u4e86pointer\uff0c\u4f60\u5c31\u7b49\u65bc\u5b78\u4e86C\u7684\u7cbe\u9ad3\uff0c\u53ef\u4ee5\u5beb\u51fa\u8d85\u5feb\u7684\u7a0b\u5f0f\uff0cpointer\u662f\u5176\u4ed6\u7a0b\u5f0f\u8a9e\u8a00\u6240\u6c92\u6709\uff0c\u6700\u63a5\u8fd1assembly\u7684\u5b58\u5728\u3002\u63a5\u4e0b\u4f86\u4f5c\u8005\u8b1b\u65b0\u4e00\u4ee3C-99\u7684\u8a9e\u6cd5\uff0c\u4e3b\u529b\u6307\u51fa\u4e0a\u53e4\u6642\u4ee3\u90a3\u4e9b\u8ab2\u672c\u6559\u58de\u4eba\u7684\u5beb\u6cd5\u3002\u56b4\u683c\u4f86\u8aaa\u4e0d\u53ef\u8aaa\u6559\u58de\u4eba\uff0c\u53ea\u662f\u7576\u5e74\u7684compiler\u6709\u6280\u8853\u9650\u5236\uff0c\u4e0d\u80fd\u4e0d\u90a3\u6a23\u5bebcode\uff0c\u73fe\u5728\u7684compiler\u5f37\u52c1\u591a\u4e86\u4e0d\u518d\u6709\u90a3\u4e9b\u9650\u5236\uff0c\u4e0d\u6c42\u751a\u89e3\u7684\u4eba\u7167\u8ddf\u820a\u5beb\u6cd5\uff0c\u5176\u4ed6\u6709\u66f4\u65b9\u4fbf\u66f4\u6613\u8b80\u7684\u5beb\u6cd5\u3002\u6700\u5f8c\u4e09\u5206\u4e00\u672c\u66f8\u4e0d\u77e5\u4f5c\u8005\u73a9\u91ce\u5b9ashow off\uff0c\u6559\u4e86\u5927\u4e00\u5806\u8d85\u5f37macro\uff0c\u53ef\u4ee5\u8b93C\u6a21\u4eff\u65b0\u4e00\u4ee3\u9ad8\u968e\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u9023OOP\u90fd\u53ef\u4ee5\u5728C\u505a\u5230\uff0c\u53ea\u80fd\u5beb\u500b\u670d\u5b57\u7d66\u4ed6\u3002\u4e0d\u904e\u6211\u59cb\u7d42\u662f\u820a\u6642\u4ee3\u7684C\u4eba\uff0c\u5c0dmacro\u5341\u5206\u6297\u62d2\uff0c\u56e0\u70bamacro\u597d\u9b3c\u6b7b\u96e3debug\u3002\u5176\u5be6\u9ede\u89e3\u8981\u7528macros\u5beb\u90a3\u9ebc\u8907\u96dc\u7684\u8a9e\u6cd5\u5462\uff0c\u70ba\u4ec0\u9ebc\u4e0d\u7d22\u6027\u7528C++\u7b97\u6578\uff1f<\/p>\n<p>\u8b80\u904e\u4e86\u9019\u672c\u66f8\uff0c\u5c31\u5347\u7d1a\u6210\u70ba\u65b0\u4e00\u4ee3\u7684C\u4eba\uff0c\u8b58\u5beb\u65b0C\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9019\u672c\u66f8\u4e0d\u9069\u5408\u5b78\u5beb\u7a0b\u5f0f\u7684\u521d\u5fc3\u8005\u770b\uff0c\u4e0d\u904e\u4eca\u6642\u4eca\u65e5\u6709\u66f4\u591a\u66f4\u65b0\u66f4\u6613\u5b78\u7684\u8a9e\u8a00\uff0c\u76f8\u4fe1\u6c92\u6709\u521d\u5b78\u8005\u6703\u63c0\u5b78\u5f9eC\u958b\u59cb\u4e0b\u624b\u3002\u9019\u672c\u66f8\u5beb\u7d66\u5169\u985e\u4eba\u770b\uff0c\u4e00\u985e\u662f\u6211\u9019\u7a2e\u5341\u5e7e\u5e74\u524d\u5b78\u904e\u4e0bC\uff0c\u653e\u4f4e\u5f88\u4e45\u73fe\u5728\u8981\u66f4\u65b0\u77e5\u8b58\uff0c\u53e6\u4e00\u985e\u662f\u6709\u5176\u4ed6\u7a0b\u5f0f\u8a9e\u8a00\u5e95\u5b50\u7684\u4eba\u3002\u9019\u672c\u66f8\u8207\u6211\u521d\u5b78\u5beb\u7a0b\u5f0f\u90a3\u500b\u5e74\u4ee3\u7684\u8ab2\u672c\u5f88\u4e0d\u540c\uff0c\u5176\u7de8\u6392\u5b8c\u5168\u8f15\u8996C\u8a9e\u8a00\u7684\u6587\u6cd5\u548c\u683c\u5f0f\uff08syntax\uff09\u3002\u5176\u4ed6\u50b3\u7d71C\u8ab2\u672c\u5927\u534a\u672c\u66f8\u8b1bsyntax\uff0c\u5462\u672c\u66f8\u5c31\u7528\u6700\u5c3e\u4e00\u500b\u9644\u9304\u55ae\u7c21\u4ecb\u7d39\u4e0b\u5c31\u7b97\u3002\u53cd\u6b63\u90a3\u4e9b\u6771\u897f\u4e0d\u7528\u6b7b\u80cc\uff0c\u53ef\u4ee5\u843d\u624b\u843d\u8173\u6642\u624d\u908a\u505a\u908a\u5b78\uff0c\u6709IDE auto-complete\u53c8\u6709\u7db2\u4e0a\u53c3\u8003\uff0c\u53c8\u771f\u4fc2\u5514\u61c9\u8a72\u6d6a\u8cbb\u58a8\u6c34\u3002 \u9019\u672c\u66f8\u4e00\u958b\u59cb\u82b1\u4e09\u5206\u4e00\u672c\u66f8\u8b1b\u8207C\u6c92\u6709\u76f4\u63a5\u95dc\u4fc2\u7684\u6771\u897f\uff0c\u4e0d\u904e\u73fe\u4eca\u5bebC\u7a0b\u5f0f\u4e00\u5b9a\u6709\u7528\u7684\u5de5\u5177\u8edf\u4ef6\uff0c\u5982gcc\uff0cgit\uff0cmakefile\u7b49\uff0c\u9084\u6709\u4e00\u4e9b\u66f4\u6df1\u5165\u7684Linux\u984c\u6750\u5982\u6574package\uff0c\u4e5c\u91ce\u4fc2process\uff0c\u9ede\u5bebdynamic library\u7b49\u3002\u4ee5\u524d\u5b78\u5bebC\uff0c\u8ab2\u672c\u9023\u5982\u4f55compile\u500bprogram\u4e5f\u4e0d\u6703\u6559\u4f60\uff0c\u4e00\u958b\u59cb\u8001\u9f20\u62c9\u9f9c\u4e0d\u77e5\u5982\u4f55\u4e0b\u624b\u3002\u5b78\u9019\u4e9b\u6771\u897f\u8aaa\u96e3\u4e0d\u96e3\uff0c\u8aaa\u6613\u4e0d\u6613\uff0c\u4e0d\u904e\u9019\u672c\u66f8\u628a\u5b83\u5011\u653e\u5728\u4e00\u8d77\uff0c\u6709\u9f4a\u5f9e\u96f6\u5230\u8edf\u4ef6\u51fa\u8857\u4e00\u689d\u9f8d\u6240\u6709\u5fc5\u8981\u6b65\u9a5f\uff0c\u5341\u5206\u65b9\u4fbf\u3002\u8ab2\u672c\u8b1b\u7684\u4e3b\u6d41opensource\u61c9\u7528\u5de5\u5177\uff0c\u4e0d\u904e\u77e5\u9053\u5de5\u5177\u7684\u985e\u5225\u548c\u540d\u7a31\u5f8c\uff0c\u4e0d\u8271search\u66f4\u52a0\u597d\u7528\u7684point tool\u3002 \u597d\u4e86\uff0c\u8ad6\u5230\u4e3b\u83dc\u4e0a\u789f\uff0c\u7d42\u65bc\u5165\u6b63\u984c\u8b1bC\u3002\u4e00\u9ece\u5c31\u51fa\u6700\u5805\u4fc2\uff0c\u8b1bpointer\u3002\u592bpointer\u8005\uff0cC\u4e4b\u4e0a\u4e58\u5167\u529f\u5fc3\u6cd5\u4e5f\uff0c\u53ea\u8981\u7cbe\u901a\u4e86pointer\uff0c\u4f60\u5c31\u7b49\u65bc\u5b78\u4e86C\u7684\u7cbe\u9ad3\uff0c\u53ef\u4ee5\u5beb\u51fa\u8d85\u5feb\u7684\u7a0b\u5f0f\uff0cpointer\u662f\u5176\u4ed6\u7a0b\u5f0f\u8a9e\u8a00\u6240\u6c92\u6709\uff0c\u6700\u63a5\u8fd1assembly\u7684\u5b58\u5728\u3002\u63a5\u4e0b\u4f86\u4f5c\u8005\u8b1b\u65b0\u4e00\u4ee3C-99\u7684\u8a9e\u6cd5\uff0c\u4e3b\u529b\u6307\u51fa\u4e0a\u53e4\u6642\u4ee3\u90a3\u4e9b\u8ab2\u672c\u6559\u58de\u4eba\u7684\u5beb\u6cd5\u3002\u56b4\u683c\u4f86\u8aaa\u4e0d\u53ef\u8aaa\u6559\u58de\u4eba\uff0c\u53ea\u662f\u7576\u5e74\u7684compiler\u6709\u6280\u8853\u9650\u5236\uff0c\u4e0d\u80fd\u4e0d\u90a3\u6a23\u5bebcode\uff0c\u73fe\u5728\u7684compiler\u5f37\u52c1\u591a\u4e86\u4e0d\u518d\u6709\u90a3\u4e9b\u9650\u5236\uff0c\u4e0d\u6c42\u751a\u89e3\u7684\u4eba\u7167\u8ddf\u820a\u5beb\u6cd5\uff0c\u5176\u4ed6\u6709\u66f4\u65b9\u4fbf\u66f4\u6613\u8b80\u7684\u5beb\u6cd5\u3002\u6700\u5f8c\u4e09\u5206\u4e00\u672c\u66f8\u4e0d\u77e5\u4f5c\u8005\u73a9\u91ce\u5b9ashow off\uff0c\u6559\u4e86\u5927\u4e00\u5806\u8d85\u5f37macro\uff0c\u53ef\u4ee5\u8b93C\u6a21\u4eff\u65b0\u4e00\u4ee3\u9ad8\u968e\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u9023OOP\u90fd\u53ef\u4ee5\u5728C\u505a\u5230\uff0c\u53ea\u80fd\u5beb\u500b\u670d\u5b57\u7d66\u4ed6\u3002\u4e0d\u904e\u6211\u59cb\u7d42\u662f\u820a\u6642\u4ee3\u7684C\u4eba\uff0c\u5c0dmacro\u5341\u5206\u6297\u62d2\uff0c\u56e0\u70bamacro\u597d\u9b3c\u6b7b\u96e3debug\u3002\u5176\u5be6\u9ede\u89e3\u8981\u7528macros\u5beb\u90a3\u9ebc\u8907\u96dc\u7684\u8a9e\u6cd5\u5462\uff0c\u70ba\u4ec0\u9ebc\u4e0d\u7d22\u6027\u7528C++\u7b97\u6578\uff1f \u8b80\u904e\u4e86\u9019\u672c\u66f8\uff0c\u5c31\u5347\u7d1a\u6210\u70ba\u65b0\u4e00\u4ee3\u7684C\u4eba\uff0c\u8b58\u5beb\u65b0C\u3002<\/p>\n","protected":false},"author":2,"featured_media":9039,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"lc_iscn_info":[],"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","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}},"categories":[8],"tags":[948],"class_list":["post-9038","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-_books","tag-948"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>21st Century C, 2nd Edition - Ben Klemens - \u54f2\u5b50\u6232 Philosophist\u2019s Camp<\/title>\n<meta name=\"description\" content=\"\u9019\u672c\u66f8\u4e0d\u9069\u5408\u5b78\u5beb\u7a0b\u5f0f\u7684\u521d\u5fc3\u8005\u770b\uff0c\u4e0d\u904e\u4eca\u6642\u4eca\u65e5\u6709\u66f4\u591a\u66f4\u65b0\u66f4\u6613\u5b78\u7684\u8a9e\u8a00\uff0c\u76f8\u4fe1\u6c92\u6709\u521d\u5b78\u8005\u6703\u63c0\u5b78\u5f9eC\u958b\u59cb\u4e0b\u624b\u3002\u9019\u672c\u66f8\u5beb\u7d66\u5169\u985e\u4eba\u770b\uff0c\u4e00\u985e\u662f\u6211\u9019\u7a2e\u5341\u5e7e\u5e74\u524d\u5b78\u904e\u4e0bC\uff0c\u653e\u4f4e\u5f88\u4e45\u73fe\u5728\u8981\u66f4\u65b0\u77e5\u8b58\uff0c\u53e6\u4e00\u985e\u662f\u6709\u5176\u4ed6\u7a0b\u5f0f\u8a9e\u8a00\u5e95\u5b50\u7684\u4eba\u3002\u9019\u672c\u66f8\u8207\u6211\u521d\u5b78\u5beb\u7a0b\u5f0f\u90a3\u500b\u5e74\u4ee3\u7684\u8ab2\u672c\u5f88\u4e0d\u540c\uff0c\u5176\u7de8\u6392\u5b8c\u5168\u8f15\u8996C\u8a9e\u8a00\u7684\u6587\u6cd5\u548c\u683c\u5f0f\uff08syntax\uff09\u3002\u5176\u4ed6\u50b3\u7d71C\u8ab2\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"21st Century C, 2nd Edition - Ben Klemens - \u54f2\u5b50\u6232 Philosophist\u2019s Camp\" \/>\n<meta property=\"og:description\" content=\"\u9019\u672c\u66f8\u4e0d\u9069\u5408\u5b78\u5beb\u7a0b\u5f0f\u7684\u521d\u5fc3\u8005\u770b\uff0c\u4e0d\u904e\u4eca\u6642\u4eca\u65e5\u6709\u66f4\u591a\u66f4\u65b0\u66f4\u6613\u5b78\u7684\u8a9e\u8a00\uff0c\u76f8\u4fe1\u6c92\u6709\u521d\u5b78\u8005\u6703\u63c0\u5b78\u5f9eC\u958b\u59cb\u4e0b\u624b\u3002\u9019\u672c\u66f8\u5beb\u7d66\u5169\u985e\u4eba\u770b\uff0c\u4e00\u985e\u662f\u6211\u9019\u7a2e\u5341\u5e7e\u5e74\u524d\u5b78\u904e\u4e0bC\uff0c\u653e\u4f4e\u5f88\u4e45\u73fe\u5728\u8981\u66f4\u65b0\u77e5\u8b58\uff0c\u53e6\u4e00\u985e\u662f\u6709\u5176\u4ed6\u7a0b\u5f0f\u8a9e\u8a00\u5e95\u5b50\u7684\u4eba\u3002\u9019\u672c\u66f8\u8207\u6211\u521d\u5b78\u5beb\u7a0b\u5f0f\u90a3\u500b\u5e74\u4ee3\u7684\u8ab2\u672c\u5f88\u4e0d\u540c\uff0c\u5176\u7de8\u6392\u5b8c\u5168\u8f15\u8996C\u8a9e\u8a00\u7684\u6587\u6cd5\u548c\u683c\u5f0f\uff08syntax\uff09\u3002\u5176\u4ed6\u50b3\u7d71C\u8ab2\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/\" \/>\n<meta property=\"og:site_name\" content=\"\u54f2\u5b50\u6232 Philosophist\u2019s Camp\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/horace.org\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/horace.org\" \/>\n<meta property=\"article:published_time\" content=\"2015-05-07T07:59:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-10-28T23:08:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/05\/lrg.jpg?fit=500%2C656&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"656\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"hevangel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@horaceorg\" \/>\n<meta name=\"twitter:site\" content=\"@horaceorg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"hevangel\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2015\\\/05\\\/06\\\/21st-century-c-2nd-edition-ben-klemens\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2015\\\/05\\\/06\\\/21st-century-c-2nd-edition-ben-klemens\\\/\"},\"author\":{\"name\":\"hevangel\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#\\\/schema\\\/person\\\/c8d9e8e7a71d343b4b2c4ef4365cdb4c\"},\"headline\":\"21st Century C, 2nd Edition &#8211; Ben Klemens\",\"datePublished\":\"2015-05-07T07:59:56+00:00\",\"dateModified\":\"2015-10-28T23:08:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2015\\\/05\\\/06\\\/21st-century-c-2nd-edition-ben-klemens\\\/\"},\"wordCount\":59,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#\\\/schema\\\/person\\\/c8d9e8e7a71d343b4b2c4ef4365cdb4c\"},\"image\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2015\\\/05\\\/06\\\/21st-century-c-2nd-edition-ben-klemens\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/lrg.jpg?fit=500%2C656&ssl=1\",\"keywords\":[\"\u96fb\u8166\"],\"articleSection\":[\"\u66f8\u8a55\"],\"inLanguage\":\"en-CA\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.horace.org\\\/blog\\\/2015\\\/05\\\/06\\\/21st-century-c-2nd-edition-ben-klemens\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2015\\\/05\\\/06\\\/21st-century-c-2nd-edition-ben-klemens\\\/\",\"url\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2015\\\/05\\\/06\\\/21st-century-c-2nd-edition-ben-klemens\\\/\",\"name\":\"21st Century C, 2nd Edition - Ben Klemens - \u54f2\u5b50\u6232 Philosophist\u2019s Camp\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2015\\\/05\\\/06\\\/21st-century-c-2nd-edition-ben-klemens\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2015\\\/05\\\/06\\\/21st-century-c-2nd-edition-ben-klemens\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/lrg.jpg?fit=500%2C656&ssl=1\",\"datePublished\":\"2015-05-07T07:59:56+00:00\",\"dateModified\":\"2015-10-28T23:08:51+00:00\",\"description\":\"\u9019\u672c\u66f8\u4e0d\u9069\u5408\u5b78\u5beb\u7a0b\u5f0f\u7684\u521d\u5fc3\u8005\u770b\uff0c\u4e0d\u904e\u4eca\u6642\u4eca\u65e5\u6709\u66f4\u591a\u66f4\u65b0\u66f4\u6613\u5b78\u7684\u8a9e\u8a00\uff0c\u76f8\u4fe1\u6c92\u6709\u521d\u5b78\u8005\u6703\u63c0\u5b78\u5f9eC\u958b\u59cb\u4e0b\u624b\u3002\u9019\u672c\u66f8\u5beb\u7d66\u5169\u985e\u4eba\u770b\uff0c\u4e00\u985e\u662f\u6211\u9019\u7a2e\u5341\u5e7e\u5e74\u524d\u5b78\u904e\u4e0bC\uff0c\u653e\u4f4e\u5f88\u4e45\u73fe\u5728\u8981\u66f4\u65b0\u77e5\u8b58\uff0c\u53e6\u4e00\u985e\u662f\u6709\u5176\u4ed6\u7a0b\u5f0f\u8a9e\u8a00\u5e95\u5b50\u7684\u4eba\u3002\u9019\u672c\u66f8\u8207\u6211\u521d\u5b78\u5beb\u7a0b\u5f0f\u90a3\u500b\u5e74\u4ee3\u7684\u8ab2\u672c\u5f88\u4e0d\u540c\uff0c\u5176\u7de8\u6392\u5b8c\u5168\u8f15\u8996C\u8a9e\u8a00\u7684\u6587\u6cd5\u548c\u683c\u5f0f\uff08syntax\uff09\u3002\u5176\u4ed6\u50b3\u7d71C\u8ab2\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2015\\\/05\\\/06\\\/21st-century-c-2nd-edition-ben-klemens\\\/#breadcrumb\"},\"inLanguage\":\"en-CA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.horace.org\\\/blog\\\/2015\\\/05\\\/06\\\/21st-century-c-2nd-edition-ben-klemens\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-CA\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2015\\\/05\\\/06\\\/21st-century-c-2nd-edition-ben-klemens\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/lrg.jpg?fit=500%2C656&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/lrg.jpg?fit=500%2C656&ssl=1\",\"width\":500,\"height\":656},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2015\\\/05\\\/06\\\/21st-century-c-2nd-edition-ben-klemens\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"21st Century C, 2nd Edition &#8211; Ben Klemens\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/\",\"name\":\"\u54f2\u5b50\u6232 Philosophist\u2019s Camp\",\"description\":\"\u860b\u679c\u65e5\u5831\u4f5c\u8005 - \u9673\u99ac\uff1a\u66f8\u8a55\uff0c\u5f71\u8a55\uff0c\u52d5\u6f2b\uff0c\u65c5\u884c\uff0c\u54f2\u5b78\u7b46\u8a18\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#\\\/schema\\\/person\\\/c8d9e8e7a71d343b4b2c4ef4365cdb4c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-CA\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#\\\/schema\\\/person\\\/c8d9e8e7a71d343b4b2c4ef4365cdb4c\",\"name\":\"hevangel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-CA\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/spocky.jpg?fit=1313%2C1259&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/spocky.jpg?fit=1313%2C1259&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/spocky.jpg?fit=1313%2C1259&ssl=1\",\"width\":1313,\"height\":1259,\"caption\":\"hevangel\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/spocky.jpg?fit=1313%2C1259&ssl=1\"},\"sameAs\":[\"http:\\\/\\\/www.horace.org\",\"https:\\\/\\\/www.facebook.com\\\/horace.org\"],\"url\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/author\\\/hevangel-2\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"21st Century C, 2nd Edition - Ben Klemens - \u54f2\u5b50\u6232 Philosophist\u2019s Camp","description":"\u9019\u672c\u66f8\u4e0d\u9069\u5408\u5b78\u5beb\u7a0b\u5f0f\u7684\u521d\u5fc3\u8005\u770b\uff0c\u4e0d\u904e\u4eca\u6642\u4eca\u65e5\u6709\u66f4\u591a\u66f4\u65b0\u66f4\u6613\u5b78\u7684\u8a9e\u8a00\uff0c\u76f8\u4fe1\u6c92\u6709\u521d\u5b78\u8005\u6703\u63c0\u5b78\u5f9eC\u958b\u59cb\u4e0b\u624b\u3002\u9019\u672c\u66f8\u5beb\u7d66\u5169\u985e\u4eba\u770b\uff0c\u4e00\u985e\u662f\u6211\u9019\u7a2e\u5341\u5e7e\u5e74\u524d\u5b78\u904e\u4e0bC\uff0c\u653e\u4f4e\u5f88\u4e45\u73fe\u5728\u8981\u66f4\u65b0\u77e5\u8b58\uff0c\u53e6\u4e00\u985e\u662f\u6709\u5176\u4ed6\u7a0b\u5f0f\u8a9e\u8a00\u5e95\u5b50\u7684\u4eba\u3002\u9019\u672c\u66f8\u8207\u6211\u521d\u5b78\u5beb\u7a0b\u5f0f\u90a3\u500b\u5e74\u4ee3\u7684\u8ab2\u672c\u5f88\u4e0d\u540c\uff0c\u5176\u7de8\u6392\u5b8c\u5168\u8f15\u8996C\u8a9e\u8a00\u7684\u6587\u6cd5\u548c\u683c\u5f0f\uff08syntax\uff09\u3002\u5176\u4ed6\u50b3\u7d71C\u8ab2","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/","og_locale":"en_US","og_type":"article","og_title":"21st Century C, 2nd Edition - Ben Klemens - \u54f2\u5b50\u6232 Philosophist\u2019s Camp","og_description":"\u9019\u672c\u66f8\u4e0d\u9069\u5408\u5b78\u5beb\u7a0b\u5f0f\u7684\u521d\u5fc3\u8005\u770b\uff0c\u4e0d\u904e\u4eca\u6642\u4eca\u65e5\u6709\u66f4\u591a\u66f4\u65b0\u66f4\u6613\u5b78\u7684\u8a9e\u8a00\uff0c\u76f8\u4fe1\u6c92\u6709\u521d\u5b78\u8005\u6703\u63c0\u5b78\u5f9eC\u958b\u59cb\u4e0b\u624b\u3002\u9019\u672c\u66f8\u5beb\u7d66\u5169\u985e\u4eba\u770b\uff0c\u4e00\u985e\u662f\u6211\u9019\u7a2e\u5341\u5e7e\u5e74\u524d\u5b78\u904e\u4e0bC\uff0c\u653e\u4f4e\u5f88\u4e45\u73fe\u5728\u8981\u66f4\u65b0\u77e5\u8b58\uff0c\u53e6\u4e00\u985e\u662f\u6709\u5176\u4ed6\u7a0b\u5f0f\u8a9e\u8a00\u5e95\u5b50\u7684\u4eba\u3002\u9019\u672c\u66f8\u8207\u6211\u521d\u5b78\u5beb\u7a0b\u5f0f\u90a3\u500b\u5e74\u4ee3\u7684\u8ab2\u672c\u5f88\u4e0d\u540c\uff0c\u5176\u7de8\u6392\u5b8c\u5168\u8f15\u8996C\u8a9e\u8a00\u7684\u6587\u6cd5\u548c\u683c\u5f0f\uff08syntax\uff09\u3002\u5176\u4ed6\u50b3\u7d71C\u8ab2","og_url":"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/","og_site_name":"\u54f2\u5b50\u6232 Philosophist\u2019s Camp","article_publisher":"https:\/\/www.facebook.com\/horace.org","article_author":"https:\/\/www.facebook.com\/horace.org","article_published_time":"2015-05-07T07:59:56+00:00","article_modified_time":"2015-10-28T23:08:51+00:00","og_image":[{"width":500,"height":656,"url":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/05\/lrg.jpg?fit=500%2C656&ssl=1","type":"image\/jpeg"}],"author":"hevangel","twitter_card":"summary_large_image","twitter_creator":"@horaceorg","twitter_site":"@horaceorg","twitter_misc":{"Written by":"hevangel"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/#article","isPartOf":{"@id":"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/"},"author":{"name":"hevangel","@id":"https:\/\/www.horace.org\/blog\/#\/schema\/person\/c8d9e8e7a71d343b4b2c4ef4365cdb4c"},"headline":"21st Century C, 2nd Edition &#8211; Ben Klemens","datePublished":"2015-05-07T07:59:56+00:00","dateModified":"2015-10-28T23:08:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/"},"wordCount":59,"commentCount":0,"publisher":{"@id":"https:\/\/www.horace.org\/blog\/#\/schema\/person\/c8d9e8e7a71d343b4b2c4ef4365cdb4c"},"image":{"@id":"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/05\/lrg.jpg?fit=500%2C656&ssl=1","keywords":["\u96fb\u8166"],"articleSection":["\u66f8\u8a55"],"inLanguage":"en-CA","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/","url":"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/","name":"21st Century C, 2nd Edition - Ben Klemens - \u54f2\u5b50\u6232 Philosophist\u2019s Camp","isPartOf":{"@id":"https:\/\/www.horace.org\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/#primaryimage"},"image":{"@id":"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/05\/lrg.jpg?fit=500%2C656&ssl=1","datePublished":"2015-05-07T07:59:56+00:00","dateModified":"2015-10-28T23:08:51+00:00","description":"\u9019\u672c\u66f8\u4e0d\u9069\u5408\u5b78\u5beb\u7a0b\u5f0f\u7684\u521d\u5fc3\u8005\u770b\uff0c\u4e0d\u904e\u4eca\u6642\u4eca\u65e5\u6709\u66f4\u591a\u66f4\u65b0\u66f4\u6613\u5b78\u7684\u8a9e\u8a00\uff0c\u76f8\u4fe1\u6c92\u6709\u521d\u5b78\u8005\u6703\u63c0\u5b78\u5f9eC\u958b\u59cb\u4e0b\u624b\u3002\u9019\u672c\u66f8\u5beb\u7d66\u5169\u985e\u4eba\u770b\uff0c\u4e00\u985e\u662f\u6211\u9019\u7a2e\u5341\u5e7e\u5e74\u524d\u5b78\u904e\u4e0bC\uff0c\u653e\u4f4e\u5f88\u4e45\u73fe\u5728\u8981\u66f4\u65b0\u77e5\u8b58\uff0c\u53e6\u4e00\u985e\u662f\u6709\u5176\u4ed6\u7a0b\u5f0f\u8a9e\u8a00\u5e95\u5b50\u7684\u4eba\u3002\u9019\u672c\u66f8\u8207\u6211\u521d\u5b78\u5beb\u7a0b\u5f0f\u90a3\u500b\u5e74\u4ee3\u7684\u8ab2\u672c\u5f88\u4e0d\u540c\uff0c\u5176\u7de8\u6392\u5b8c\u5168\u8f15\u8996C\u8a9e\u8a00\u7684\u6587\u6cd5\u548c\u683c\u5f0f\uff08syntax\uff09\u3002\u5176\u4ed6\u50b3\u7d71C\u8ab2","breadcrumb":{"@id":"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/#breadcrumb"},"inLanguage":"en-CA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/"]}]},{"@type":"ImageObject","inLanguage":"en-CA","@id":"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/#primaryimage","url":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/05\/lrg.jpg?fit=500%2C656&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/05\/lrg.jpg?fit=500%2C656&ssl=1","width":500,"height":656},{"@type":"BreadcrumbList","@id":"https:\/\/www.horace.org\/blog\/2015\/05\/06\/21st-century-c-2nd-edition-ben-klemens\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.horace.org\/blog\/"},{"@type":"ListItem","position":2,"name":"21st Century C, 2nd Edition &#8211; Ben Klemens"}]},{"@type":"WebSite","@id":"https:\/\/www.horace.org\/blog\/#website","url":"https:\/\/www.horace.org\/blog\/","name":"\u54f2\u5b50\u6232 Philosophist\u2019s Camp","description":"\u860b\u679c\u65e5\u5831\u4f5c\u8005 - \u9673\u99ac\uff1a\u66f8\u8a55\uff0c\u5f71\u8a55\uff0c\u52d5\u6f2b\uff0c\u65c5\u884c\uff0c\u54f2\u5b78\u7b46\u8a18","publisher":{"@id":"https:\/\/www.horace.org\/blog\/#\/schema\/person\/c8d9e8e7a71d343b4b2c4ef4365cdb4c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.horace.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-CA"},{"@type":["Person","Organization"],"@id":"https:\/\/www.horace.org\/blog\/#\/schema\/person\/c8d9e8e7a71d343b4b2c4ef4365cdb4c","name":"hevangel","image":{"@type":"ImageObject","inLanguage":"en-CA","@id":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/11\/spocky.jpg?fit=1313%2C1259&ssl=1","url":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/11\/spocky.jpg?fit=1313%2C1259&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/11\/spocky.jpg?fit=1313%2C1259&ssl=1","width":1313,"height":1259,"caption":"hevangel"},"logo":{"@id":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/11\/spocky.jpg?fit=1313%2C1259&ssl=1"},"sameAs":["http:\/\/www.horace.org","https:\/\/www.facebook.com\/horace.org"],"url":"https:\/\/www.horace.org\/blog\/author\/hevangel-2\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/05\/lrg.jpg?fit=500%2C656&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/pwn21-2lM","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":13566,"url":"https:\/\/www.horace.org\/blog\/2019\/06\/05\/programmers-python-everything-is-an-object-mike-james\/","url_meta":{"origin":9038,"position":0},"title":"Programmer&#8217;s Python: Everything is an Object &#8211; Mike James","author":"hevangel","date":"June 5, 2019","format":false,"excerpt":"\u56e0\u5de5\u4f5c\u4e0a\u7684\u9700\u8981\uff0c\u53bb\u5e74\u6211\u624d\u958b\u59cb\u5b78\u7fd2Python\uff0c\u5beb\u4e86Python\u7a0b\u5f0f\u63a5\u8fd1\u4e00\u5e74\uff0c\u5beb\u8d77\u4f86\u6f38\u6f38\u5f97\u624b\u61c9\u624b\u3002Python\u4e0d\u6127\u70ba\u8fd1\u5e74\u5192\u8d77\u5f97\u6700\u5feb\u7684\u8a9e\u8a00\uff0c\u5b83\u96c6\u50b3\u7d71OOP\u8a9e\u8a00\u5982C++\u548c\u5feb\u901finterpret\u8a9e\u8a00\u5982Perl\u5169\u5bb6\u4e4b\u5927\u6210\uff0csyntax\u7c21\u6f54\u6613\u7528\uff0cdynamic typing\u548cduck typing\u5beb\u8d77\u4f86\u66f4\u8f15\u9b06\u81ea\u7531\uff0c\u82e5\u679c\u5c0dtyping\u4e0d\u653e\u5fc3\u9084\u53ef\u4ee5optional type check\u3002\u6211\u4e45\u4e0d\u4e45\u8981\u56de\u53bb\u5bebC++\uff0c\u5beb\u958bPython\u5ffd\u7136\u8981\u5beb\u4e0a\u4e00\u4ee3language\uff0c\u5f88\u4e0d\u7fd2\u6163\uff0c\u7136\u5f8c\u5c31\u5492\u7f75\u70ba\u4ec0\u9ebcC++\u6c92\u6709\u90a3\u4e9b\u597d\u7528\u7684\u529f\u80fd\uff0c\u7576\u7136\u9b27\u4e86\u5169\u53e5\u5f8c\uff0c\u5c31\u6703\u8a18\u5f97C++\u6bd4Python\u904b\u884c\u901f\u5ea6\u5feb\u5f88\u591a\u500d\uff0cstatic type\u662f\u6709\u5176\u5b58\u5728\u7684\u539f\u56e0\u3002 \u5b78\u7fd2\u4e00\u500b\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u9664\u4e86\u5b78\u7fd2syntax\u5b78\u7fd2\u4f7f\u7528\u4e0d\u540clibrary\u5916\uff0c\u82e5\u679c\u8981\u5b78\u5f97\u6df1\u5165\u5b78\u7684\u7cbe\u5c08\uff0c\u5c31\u8981\u660e\u767d\u7a0b\u5f0f\u8a9e\u8a00\u7684\u904b\u4f5c\u539f\u7406\u3002C++\u53ea\u8981\u6709C\u7684\u57fa\u790e\uff0c\u800cC\u53ea\u8981\u6709Assembly\u7684\u57fa\u790e\uff0c\u53ea\u8981\u5f04\u61c2pointer\u5176\u4ed6\u5c31\u5f88\u6613\u660e\u3002Python\u4e5f\u662f\u4e00\u6a23\uff0c\u53ea\u8981\u660e\u767d\u5b83\u4efb\u4f55\u6771\u897f\u4e5f\u662fobject\u7684\u6838\u5fc3\uff0c\u5b83\u7684variable\u548cfunciton scope\u662f\u5982\u4f55resolve\uff0c\u5176\u4ed6\u6240\u6709\u300c\u9032\u968e\u300dsyntax\u53ea\u662f\u98fe\u88dd\u7684\u5916\u8863\u3002 \u5e02\u9762\u4e0a\u6709\u5f88\u591aPython\u8ab2\u672c\uff0c\u4ea6\u6709\u4e0d\u5c11online tutorial\uff0c\u7d55\u5927\u90e8\u4efd\u90fd\u662f\u6559\u4f60\u61c9\u7528Python\u53bb\u5bebcode\uff0c\u6c92\u6709\u771f\u6b63\u8b1b\u89e3Python\u7684\u5167\u90e8\u7d50\u69cb\u3002Python official document\u6709\u63d0\u53ca\uff0c\u6211\u7531\u982d\u5230\u5c3e\u53eb\u505a\u770b\u904e\u4e00\u7bc7\uff0c\u4e0d\u904e\u5beb\u5f97\u592a\u67af\u71e5\u7121\u5473\uff0c\u5167\u5bb9\u96f6\u788e\u6c92\u6709\u7cfb\u7d71\uff0c\u4e0d\u9069\u5408\u4e00\u822c\u4eba\u95b1\u8b80\u3002\u9019\u672c\u300aProgrammer's Python: Everything is an Object\u300b\u662f\u9032\u968e\u8b80\u7269\uff0c\u4e26\u4e0d\u9069\u5408\u521d\u5b78\u8005\uff0c\u751a\u81f3\u4e0d\u6703\u4f60\u5bebPython\uff0c\u800c\u662f\u5f9e\u7a0b\u5f0f\u8a9e\u8a00\u8a2d\u8a08\u7684\u5c64\u9762\uff0c\u53bb\u89e3\u91cbPython\u5167\u88cf\u7684\u904b\u4f5c\u539f\u7406\uff0c\u63db\u4e00\u53e5\u8a71\u8aaa\u5c31\u662f\u89e3\u91cb\u90a3\u4e9bdouble underscore builtin attributes\u6709\u4ec0\u9ebc\u4f5c\u7528\u3002 \u9019\u672c\u66f8\u662fI Programmer\u7db2\u9801\u7684\u4f5c\u8005\u51fa\u7248\uff0c\u9019\u500b\u7db2\u9801\u662f\u6211follow\u958b\u8b1bcomputer science\u5c08\u696d\u7d1a\u77e5\u8b58\u7684\u7db2\u9801\u3002\u7db2\u7ad9\u4e0a\u6709\u9019\u672c\u66f8\u7684\u8a66\u770b\u7248\uff0c\u5dee\u4e0d\u591a\u4e5f\u6709\u534a\u672c\u66f8\u7684\u5167\u5bb9\uff0c\u56e0\u70ba\u5be6\u5728\u5beb\u5f97\u592a\u597d\uff0c\u6240\u4ee5\u4e00\u5b9a\u8981\u8ce3\u56de\u4f86\u770b\u5168\u672c\u7684\u5167\u5bb9\u3002\u9019\u672c\u66f8\u975e\u5e38\u51b7\u9580\uff0c\u4e0d\u8981\u8aaa\u4e00\u822c\u66f8\u5e97\u6216\u7db2\u4e0a\u66f8\u5e97\u6c92\u6709\u5f97\u8ce3\uff0c\u9023\u52a0\u62ff\u5927Amazon\u4e5f\u6c92\u6709\u5165\u8ca8\uff0c\u66f4\u4e0d\u8981\u8aaa\u7db2\u4e0a\u6c92\u6709\u76dc\u7248pdf\uff0c\u6211\u8981\u7279\u5730\u53bb\u7f8e\u570bAmazon\u8a02\u8cfc\u56de\u4f86\u3002 \u9019\u672c\u66f8\u6709\u6c92\u6709\u5be6\u969b\u7528\u8655\uff1f\u5f88\u96e3\u8b1b\u3002\u65e5\u5e38\u5bebPython\u7a0b\u5f0f\uff0c\u5176\u5be6\u4e0d\u9700\u8981\u7406\u6703\u5b83\u5982\u4f55\u904b\u4f5c\u3002\u770b\u5b8c\u9019\u672c\u66f8\u5f8c\uff0c\u8b93\u6211\u61c2\u5f97\u6b23\u8cdePython\u8a2d\u8a08\u7684\u5de7\u5999\u3002\u82e5\u679c\u5c0d\u7a0b\u5f0f\u8a9e\u8a00\u8a2d\u8a08\u6709\u8208\u8da3\uff0c\u9019\u672c\u66f8\u4ea6\u8b1b\u8ff0\u5f88\u591a\u7a0b\u5f0f\u8a9e\u8a00\u8a2d\u8a08\u7406\u8ad6\uff0c\u5c0d\u65e5\u5f8c\u5b78\u7fd2\u5176\u4ed6\u8a9e\u8a00\u6703\u5f88\u6709\u5e6b\u52a9\u3002","rel":"","context":"In &quot;\u66f8\u8a55&quot;","block_context":{"text":"\u66f8\u8a55","link":"https:\/\/www.horace.org\/blog\/category\/_books\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2019\/06\/pythoncover.jpg?fit=731%2C889&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2019\/06\/pythoncover.jpg?fit=731%2C889&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2019\/06\/pythoncover.jpg?fit=731%2C889&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2019\/06\/pythoncover.jpg?fit=731%2C889&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":11358,"url":"https:\/\/www.horace.org\/blog\/2016\/07\/05\/visual-quickstart-guide-ruby-larry-ullman\/","url_meta":{"origin":9038,"position":1},"title":"Visual Quickstart Guide Ruby &#8211; Larry Ullman","author":"hevangel","date":"July 5, 2016","format":false,"excerpt":"\u9019\u672c\u66f8\u8cb7\u4e86\u597d\u5e7e\u5e74\uff0c\u4e00\u76f4\u63d0\u4e0d\u8d77\u52c1\u53bb\u8a8d\u771f\u770b\uff0c\u6b64\u66f8\u7576\u5e74\u51fa\u7248\u6642Ruby\u7248\u672c\u9084\u662f1.9\uff0c\u73fe\u5728\u5df2\u7d93\u53bb\u52302.3\u3002\u56e0\u70ba\u8981\u67b6\u8a2d\u7db2\u7ad9\uff0c\u624d\u81e8\u6025\u62b1\u4f5b\u8173\u53bb\u8b80\u66f8\uff0c\u5148\u5b78\u616c\u57fa\u672c\u7684Ruby\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u624d\u53ef\u4ee5\u9032\u968e\u5b78\u7fd2Ruby on Rails\u7db2\u7ad9framework\u3002\u67b6\u8a2d\u7db2\u7ad9\u70ba\u4ec0\u9ebc\u4e0d\u7528\u8fd1\u671f\u6d41\u884c\u7684Node.js\uff1f\u4e00\u4f86\u6211\u5c0dJavascript\u6c92\u6709\u597d\u611f\uff0cJavascript\u5468\u8eab\u5200\u5187\u5f35\u5229\uff0c\u4e8c\u4f86\u64da\u8aaa\u5beb\u5f8c\u53f0Ruby\u6bd4Javascript\u5beb\u8d77\u66f4\u5f97\u5fc3\u61c9\u624b\uff0c\u6700\u91cd\u8981\u662f\u9664\u4e86\u5f04\u597d\u500b\u7db2\u7ad9\u5916\u5916\uff0c\u6211\u9084\u60f3\u9806\u4fbf\u5b78\u7fd2\u65b0\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u505a\u96fb\u8166\u9019\u4e00\u884c\uff0c\u82e5\u679c\u4e0d\u8207\u6642\u4e26\u9032\uff0c\u5f88\u5feb\u4fbf\u7d66\u6dd8\u6c70\u4e86\u3002 Ruby\u6613\u4e0d\u6613\u5b78\uff1f\u6211\u89ba\u5f97\u5f88\u5bb9\u6613\u5b78\uff0c\u53ea\u7528\u5169\u500b\u661f\u671f\u5de6\u4fbf\u4e0a\u624b\uff0c\u6bcf\u665a\u770b\u66f8\u592a\u7d04\u4e00\u5169\u500b\u5c0f\u6642\u3002\u4e0d\u904e\u6211\u7684C\/C++\u529f\u592b\u624e\u5be6\uff0c\u52a0\u4e0a\u56e0\u5de5\u4f5c\u9700\u8981\u7528\u4e86tcl\u9019\u500b\u975e\u5e38\u53e4\u602a\u7684\u7a0b\u5f0f\u8a9e\u8a00\u5341\u591a\u5e74\uff0cRuby\u7684object orient programming\u90e8\u4efd\u6709C++\u5e95\u5b50\u5f88\u6613\u660e\uff0c\u81f3\u65bcRuby\u7684dynamic programming\u90e8\u4efd\uff0c\u76f8\u4fe1\u6c92\u6709\u4efb\u4f55\u7a0b\u5f0f\u8a9e\u8a00\u6bd4tcl\u66f4dynamic\u3002Ruby\u7684\u6700\u5927\u7279\u9ede\u662f\u6240\u6709\u6771\u897f\u90fd\u662fobject\uff0c\u5305\u62ec\u4efb\u4f55variable\uff0c\u4efb\u4f55literal\uff0c\u751a\u81f3class\u548cmodule definition\u90fd\u662fobject\u3002\u56e0\u70ba\u6240\u6709\u6771\u897f\u90fd\u662fobject\uff0c\u5728\u7a0b\u5f0f\u57f7\u884c\u6642\uff0c\u53ef\u4ee5\u91cd\u5beb\u4efb\u4f55method\uff0c\u52a0\u6e1bclass\u4e2d\u7684variables\uff0c\u5bebcode\u8d77\u4f86\u5341\u5206\u65b9\u4fbf\uff0c\u4e0d\u904e\u4e00\u4e0d\u5c0f\u5fc3\u4ea6\u5f88\u5bb9\u6613\u51fa\u932f\u3002\u56e0\u70ba\u6240\u6709binding\u90fd\u662f\u5728run time\u9032\u884c\uff0c\u5728\u50b3\u7d71static\u6216dynamic typing\u5916\u5916\uff0cRuby\u7368\u6709\u7684duck typing\uff0c\u53ea\u8981\u500bobject\u6709\u540c\u540d\u7684method\uff0c\u4e0d\u7406\u90a3\u500bobject\u662f\u4ec0\u9ebc\u5c31\u53ef\u4ee5call\u3002 \u9019\u672c\u66f8\u5beb\u5f97\u5341\u5206\u6dfa\u767d\uff0c\u66f8\u4e2d\u7684\u4f8b\u5b50\u4ee5irb\u5be6\u6642\u57f7\u884c\uff0c\u4f5c\u8005\u4e00\u908a\u6559\u5bebsyntax\uff0c\u4e00\u908a\u7528irb\u7684output\u53bb\u89e3\u91cb\uff0c\u70ba\u4ec0\u9ebc\u57f7\u884c\u9019\u500b\u6307\u4ee4\uff0c\u6703\u5f97\u51fa\u9019\u500b\u7d50\u679c\u3002\u4e0d\u904e\u6211\u8a8d\u70baRuby\u4e26\u4e0d\u9069\u5408\u521d\u5b78\u7a0b\u5f0f\u8005\uff0c\u56e0\u70ba\u5b83\u5167\u5efa\u592a\u591a\u597d\u4f7f\u597d\u7528\u7684\u9b54\u6cd5\uff0c\u4e0d\u5229\u5b78\u751f\u89c0\u6e2c\u96fb\u8166\u5982\u4f55\u57f7\u884c\u7a0b\u5f0f\u3002\u66f8\u4e2d\u5c0d\u4e00\u4e9b\u9ad8\u7d1aRuby\u9b54\u6cd5\u7565\u904e\u89e3\u91cb\uff0c\u53ea\u662f\u53eb\u5b78\u751f\u80cc\u66f8\u822c\u4e0d\u6c42\u751a\u89e3\u8a18\u4e0bsyntax\u548c\u7528\u6cd5\uff0c\u5982symbol\uff0cclass attr\uff0cmodule include\/extend\u7b49\u3002\u6211\u770b\u66f8\u6642\u5b8c\u5168\u770b\u4e0d\u660e\u767d\uff0c\u8981\u53e6\u884c\u4e0a\u7db2\u770bruby.org\u7684\u5b98\u65b9\u8ab2\u672c\u548cRuby Monk\u7684\u7db2\u4e0a\u6559\u6750\uff0c\u7d50\u679c\u6211\u4e00\u53e3\u6c23\u770b\u4e86\u4e09\u672cRuby\u8ab2\u672c\u3002\u771f\u6b63\u8b93\u6211\u958b\u7ac5\uff0c\u660e\u767dRuby\u7684\u7cbe\u9ad3\uff0c\u662f\u5b98\u65b9\u8ab2\u672c\u8b1bruby.h\u90a3\u4e00\u7ae0\u3002Ruby\u6574\u500b\u7a0b\u5f0f\u8a00\u662f\u7528C\u5beb\u6210\uff0cruby.h\u4fbf\u662fC\u7a0b\u5f0f\u7684\u6e90\u78bc\uff0c\u8b93\u958b\u767c\u54e1\u628aRuby\u7a0b\u5f0f\u9023\u7d50\u5176\u4ed6\u8a9e\u8a00\u7684\u7a0b\u5f0f\u3002\u7576\u6211\u770b\u898bruby.h\u4e2d\uff0cRuby\u662f\u5982\u4f55create\u4e00\u500bobject\uff0c\u6bcf\u4e00\u500bobject\u4e4b\u9593\u7684\u95dc\u4fc2\uff0c\u4e00\u4efd\u719f\u6089\u7684\u611f\u89ba\u6cb9\u7136\u800c\u751f, ruby.h\u4e0d\u6b63\u5c31\u662ftcl.h\u7684\u5b56\u751f\u5144\u5f1f\u55ce\u3002 \u66f8\u4e2d\u6700\u5f8c\u4e00\u7ae0\u8b1bRails\uff0c\u4e0d\u904eRails\u6bd4Ruby\u672c\u8eab\u9032\u5316\u5f97\u66f4\u5feb\uff0c\u66f8\u4e2d\u6559\u7684\u90a3\u500b\u820a\u7248\u672c2.x\u5df2\u5b8c\u5168\u904e\u6642\uff0c\u53ea\u6709\u5341\u5e7e\u9801\u7d19\u5b8c\u5168\u4e0d\u5920\u6642\u9593\u53bb\u6559Rails\uff0c\u770b\u5b8c\u4e5f\u662f\u6c34\u904e\u9d28\u80cc\uff0c\u9084\u662f\u53bbRails\u7684\u5b98\u65b9\u7db2\u7ad9\u770buser guide\u3002\u5176\u5be6\u5b78\u5beb\u7a0b\u5f0f\uff0c\u771f\u7684\u4e0d\u7528\u4ffe\u9322\u4e0a\u5802\uff0c\u7db2\u4e0a\u6709\u5f88\u591a\u514d\u8cbb\u6559\u6750\uff0c\u8cb7\u672c\u66f8\u4e5f\u5341\u5206\u4fbf\u5b9c\uff0c\u81ea\u5df2\u8ddf\u8457\u4f8b\u5b50\u53bb\u73a9\u4e0b\uff0c\u5beb\u4e0b\u5beb\u4e0b\u4fbf\u81ea\u81ea\u7136\u7136\u5b78\u8b58\u4e86\u3002\u76ee\u6a19Ruby\u9054\u6210\uff0c\u4e0b\u4e00\u500b\u76ee\u6a19Rails\u3002","rel":"","context":"In &quot;\u66f8\u8a55&quot;","block_context":{"text":"\u66f8\u8a55","link":"https:\/\/www.horace.org\/blog\/category\/_books\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/07\/ShowCover.aspx_.jpg?fit=500%2C644&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":12857,"url":"https:\/\/www.horace.org\/blog\/2018\/06\/02\/head-first-python\/","url_meta":{"origin":9038,"position":2},"title":"Head First Python","author":"hevangel","date":"June 2, 2018","format":false,"excerpt":"\u8aaa\u5230\u8981\u5b78\u96fb\u8166\u7a0b\u5f0f\u8a9e\u8a00\uff0cPython\u76f8\u4fe1\u662f\u8fd1\u5e74\u6700\u7099\u624b\u53ef\u71b1\u7684\u8a9e\u8a00\u4e86\uff0c\u4e00\u4f86Syntax\u6613\u5b78\u6613\u7528\uff0c\u4e8c\u4f86library\u652f\u63f4\u773e\u591a\uff0c\u66f4\u662f\u8fd1\u671f\u6700\u71b1\u9580\u4eba\u5de5\u667a\u80fd\u7684\u4e3b\u8981\u8a9e\u8a00\uff0c\u6211\u6700\u8fd1\u56e0\u5de5\u4f5c\u9700\u8981\u4e5f\u8981\u5b78Python\u3002\u4ee5\u524d\u6211\u8b80\u5927\u5b78\u6642\u7a0b\u5f0f\u5165\u9580\u8ab2\u6559C\uff0c\u7136\u5f8c\u904e\u5e7e\u4e86\u5e74\u9032\u5316\u70ba\u6559Java\uff0c\u4e0d\u904e\u6700\u8fd1\u9678\u7e8c\u8f49\u70ba\u6559Python\u4e86\u3002\u516c\u53f8\u65b0\u8acb\u56de\u4f86\u7684\u5927\u5b78\u751f\u500b\u500b\u90fd\u61c2Python\uff0c\u543e\u7b49\u8001\u6d77\u9bae\u4e5f\u8981\u8207\u6642\u4e26\u9032\u624d\u4e0d\u6703\u88ab\u6dd8\u6c70\u3002 \u539f\u672c\u516c\u53f8\u5167\u90e8\u500b\u5169\u4e0d\u540c\u90e8\u9580\u4f7f\u7528\u4e0d\u540c\u8a9e\u8a00\uff0cchip testing\u548capps\u90a3\u908a\u4ee5\u524d\u7528tcl\uff0c\u8caatcl\u4e0d\u7528compile\u65b9\u4fbf\u64cd\u4f5c\uff0c\u6211\u5011software testing\u90a3\u908a\u5247\u4ee5C++\u70ba\u4e3b\uff0c\u56e0\u70ba\u9700\u8981OOP\u548cstatic type\u4f86\u67b6\u69cb\u8edf\u4ef6\u6e2c\u8a66\u7cfb\u7d71\u3002\u5169\u500b\u90e8\u9580\u6709\u5f88\u591a\u57fa\u790e\u7684\u61c9\u7528\u7a0b\u5f0f\u529f\u80fd\u91cd\u58d8\uff0c\u4e0d\u904e\u56e0\u70ba\u4f7f\u7528\u4e0d\u540c\u8a9e\u8a00\uff0c\u540c\u4e00\u500b\u529f\u80fd\u9700\u8981\u5beb\u5169\u6b21\u3002\u9ad8\u5c64\u8a8d\u70ba\u4e00code\u5169\u5beb\u5f88\u6c92\u6709\u6548\u7387\uff0c\u4e0b\u4ee4\u6211\u5011\u7d71\u4e00\u4f7f\u7528\u540c\u4e00\u8a9e\u8a00\uff0c\u5728\u96d9\u65b9\u5217\u51fa\u5c0d\u8a9e\u8a00\u7684\u8981\u6c42\u5f8c\uff0cPython\u6210\u70ba\u5f88\u81ea\u7136\u7684\u9078\u64c7\u3002Python\u662finterpreter language\u4e0d\u7528compile\uff0c\u540c\u6642\u53c8\u652f\u63f4OOP\u548ctype checking\uff0c\u4e00\u6b21\u904e\u6eff\u8db3\u6211\u5011\u5169\u500b\u90e8\u9580\u7684\u9858\u671b\u3002 \u5b78\u7fd2\u65b0\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u5f88\u591a\u4eba\u559c\u6b61\u8b80\u7db2\u4e0a\u8ab2\u7a0b\uff0c\u4e0d\u904e\u6211\u6bd4\u8f03\u50b3\u7d71\u559c\u6b61\u770b\u66f8\uff0c\u6211\u5acc\u7db2\u4e0a\u8ab2\u7a0b\u770b\u5f71\u7247\u592a\u5625\u6642\u9593\uff0c\u770b\u66f8\u5bb9\u6613\u660e\u7684\u90e8\u4efd\u53ef\u4ee5\u901f\u8b80\uff0c\u96e3\u660e\u7684\u90e8\u4efd\u53ef\u4ee5\u82b1\u591a\u6b64\u6642\u9593\u91cd\u770b\u5e7e\u904d\u3002\u5b78\u7fd2\u5beb\u7a0b\u5f0f\u6700\u91cd\u8981\u662f\u843d\u624b\u843d\u8173\u5bebcode\uff0c\u8ddf\u8ab2\u672c\u7684\u7df4\u7fd2\u505a\u540c\u505a\u7db2\u4e0a\u8ab2\u7a0b\u7684\u529f\u8ab2\u5206\u5225\u4e0d\u5927\uff0c\u53cd\u6b63\u7a0b\u5f0f\u5beb\u5f97\u597d\u5c31work\u6709bug\u5c31\u5514work\uff0c\u6c92\u6709\u9700\u8981\u6539\u529f\u8ab2\u5c0d\u7b54\u6848\u7684\u554f\u984c\u3002\u5728\u82b8\u82b8\u773e\u591a\u672cPython\u66f8\u4e2d\uff0c\u6211\u6311\u9078\u4e86\u9019\u672c\u300aHead First Python\u300b\uff0c\u770b\u96fb\u8166\u66f8\u4e0d\u662f\u5927\u5927\u672c\u5f88\u539a\u591a\u5b57\u5c31\u597d\uff0c\u6700\u91cd\u8981\u662f\u628a\u61c9\u7528\u6168\u5ff5\u89e3\u91cb\u6e05\u695a\uff0c\u6709\u6642\u4e00\u5f35\u5716\u6216\u4e00\u500b\u4f8b\u5b50\u53ef\u4ee5\u62b5\u5f97\u4e0a\u4e09\u7248\u7d19\u67af\u71e5\u7684\u6587\u5b57\u3002\u9019\u672c\u66f8\u958b\u5b97\u660e\u7fa9\u4e0d\u662f\u6559\u5beb\u7a0b\u5f0f\uff0c\u800c\u662f\u5beb\u7d66\u5df2\u61c2\u5176\u4ed6\u8a9e\u8a00\u7684\u4eba\u5b78\u7fd2Python\u8a9e\u6cd5\u3002\u9019\u672c\u66f8\u6700\u512a\u52dd\u4e4b\u8655\u7684\u55ae\u5143\u7684\u7de8\u6392\uff0c\u6574\u672c\u66f8\u5c31\u662f\u5beb\u4e00\u500b\u6709\u8da3\u7684\u5c0f\u5c0f\u7db2\u4e0a\u61c9\u7528\u7a0b\u5f0f\uff0c\u6bcf\u7ae0\u90fd\u6559\u4e00\u4e9b\u65b0\u6771\u897f\u70ba\u7a0b\u5f0f\u52a0\u4e0a\u65b0\u529f\u80fd\uff0c\u770b\u66f8\u5c31\u597d\u4f3c\u4e00\u8def\u505aproject\u5481\u4e0d\u6703\u60b6\u3002\u6700\u6015\u6709\u4e9b\u7a0b\u5f0f\u66f8\u53ea\u662f\u628a\u8a9e\u6cd5\u7531\u982d\u5230\u5c3e\u5217\u51fa\u4f86\uff0c\u518d\u53e3\u6c34\u591a\u904e\u8336\u5730\u52a0\u9e7d\u52a0\u918b\u5730\u9577\u7bc7\u5927\u8ad6\u8b1b\u89e3\u3002 \u6700\u521d\u770bPython\u5f88\u4e0d\u7fd2\u6163\u90a3\u500bindent style\uff0c\u5beb\u4e86\u5481\u591a\u5e74\u7a0b\u5f0f\u90fd\u4fc2\u7528curly bracket, \u552f\u6709Python\u5225\u6a39\u4e00\u683c\u5f37\u8febindent\uff0c\u4e0d\u904e\u5beb\u5e7e\u500b\u661f\u671f\u7fd2\u6163\u4e86\u5c31\u4e0d\u518d\u89ba\u5f97\u7919\u773c\u3002\u540cC++\u6216Java\u6bd4\uff0cPython\u540cRuby\u7b97\u662f\u7b2c\u56db\u4ee3\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u53bb\u5e74\u5b78\u904eRuby\u6240\u4ee5Python\u5f88\u5feb\u4e0a\u624b\uff0c\u5169\u8005\u7684\u8a2d\u8a08\u7406\u5ff5\u4e0d\u540c\uff0c\u4e0d\u904e\u6700\u6838\u5fc3\u7684\u672c\u8cea\u5176\u5be6\u4e00\u6a23\uff0c\u660e\u767d\u4e86\u500b\u80cc\u5f8c\u7528C\u5beb\u7684Ruby\/Python\u500binterpreter\uff0c\u7747\u57cb\u500binterpreter\u5165\u9762\u7684internal data-structure\uff0c\u5481\u6210\u500b\u8a9e\u8a00\u5c31\u4e00\u7406\u901a\u767e\u7406\u660e\u3002Ruby\u5c31\u4e5c\u90fd\u4fc2object\uff0cPython\u96d6\u7136\u6709\u4eba\u90fd\u4fc2\u5481\u8b1b\uff0c\u4f46\u6211\u8a8d\u70baPython\u7684\u771f\u8482\u5176\u5be6\u4e5c\u90fd\u4fc2callable\uff0c\u9023class declaration\u90fd\u4fc2\u4e00\u500bfunction\u3002\u660e\u767d\u4e86\u9019\u4e00\u9ede\u5f8c\uff0cPython\u6240\u6709\u65b0feature concept\uff0c\u5982generator\uff0cdeclaration\uff0ccontext manager\uff0cfuture, asyncio\u7b49\u7b49\u5c31\u80fd\u6e05\u695a\u7406\u89e3\u660e\u767d\u3002 \u7747\u5b8c\u672c\u66f8\u8ddf\u4f4f\u5b83\u505a\u5b8c\u500bproject\u4ed4\uff0c\u518d\u4e0aPython\u5b98\u7db2\u770b\u4e00\u6b21\u5b98\u65b9tutorial\uff0c\u628astandard library\u7684\u6240\u6709API\u4fc2\u5481\u610f\u7747\u4e00\u6b21\uff0c\u5927\u6168\u77e5\u9053\u6709\u4e5cfunction\u4e5clibrary\u53ef\u4ee5\u7528\uff0c\u9047\u5230\u554f\u984c\u5c31\u554fstack overflow\u5927\u795e\u6c42\u6551\uff0c\u9084\u6709\u529f\u80fd\u5f37\u5927\u7684PyCharm\u76f8\u52a9\uff0c\u5176\u5be6Python\u5f88\u5bb9\u6613\u4e0a\u624b\u3002\u8d8a\u5beb\u8d8a\u89ba\u5f97Python\u597d\u4f7f\u597d\u7528\uff0c\u5927\u6709\u76f8\u9022\u6068\u591c\u7684\u611f\u89ba\u3002\u73fe\u5728\u5b78\u4e86\u7528\u4e86Python\u5169\u500b\u591a\u6708\uff0c\u81ea\u554f\u81f3\u5c11\u8ffd\u4e0a\u516c\u53f8\u65b0\u4ed4\u7684\u6c34\u5e73\uff0creview\u4f62\u5730\u5beb\u7684code\u4e5f\u4e0d\u6703\u5931\u79ae\u554f\u767d\u75f4\u554f\u984c\u3002","rel":"","context":"In &quot;\u66f8\u8a55&quot;","block_context":{"text":"\u66f8\u8a55","link":"https:\/\/www.horace.org\/blog\/category\/_books\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2018\/05\/lrg.jpg?fit=500%2C578&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":10732,"url":"https:\/\/www.horace.org\/blog\/2015\/12\/11\/software-engineering-for-embedded-systems-mark-kraeling-robert-oshana\/","url_meta":{"origin":9038,"position":3},"title":"Software Engineering for Embedded Systems &#8211;  Mark Kraeling, Robert Oshana","author":"hevangel","date":"December 11, 2015","format":false,"excerpt":"\u8aaa\u8d77\u5beb\u7a0b\u5f0f\uff0c\u4e00\u822c\u4eba\u6703\u806f\u60f3\u5230\u5beb\u624b\u6a5fapps\uff0c\u67b6\u7db2\u7ad9\uff0c\u96fb\u5b50\u904a\u6232\uff0c\u5728PC\u6216server\u8dd1\u7684\u50b3\u7d71\u61c9\u7528\u7a0b\u5f0f\u3002\u5176\u5be6\u751f\u5e38\u751f\u6d69\u4e2d\u80fd\u63a5\u89f8\u7684\u7a0b\u5f0f\uff0c\u53ea\u4f54\u7e3d\u7a0b\u5f0f\u6578\u91cf\u7684\u5c0f\u90e8\u4efd\uff0c\u6709\u66f4\u591a\u7a0b\u5f0f\u8eb2\u5728\u6211\u5011\u770b\u4e0d\u898b\uff0c\u6478\u4e0d\u5230\u7684\u5730\u65b9\u3002\u5f9e\u5c0f\u81f3\u73a9\u5177\uff0c\u96fb\u5ead\u96fb\u5668\uff0c\u5927\u81f3\u6c7d\u8eca\uff0c\u98db\u6a5f\uff0c\u5de5\u696d\u6a5f\u68b0\uff0c\u7121\u4e00\u4e0d\u662f\u4f9d\u9760\u5167\u5d4c\u8edf\u4ef6\uff08embedded software\uff09\u53bb\u904b\u4f5c\u3002\u4e00\u500b\u624b\u6a5f\u8edf\u4ef6\u5e7e\u5341\u842c\u884ccode\u5df2\u7d93\u5f88\u5de8\u578b\uff0c\u5f37\u5982MS Office\u6216Windows\u4e5f\u4e0d\u904e\u6578\u5343\u842c\u884ccode\uff0c\u53ef\u662f\u4e00\u53f0\u6700\u65b0\u6b3e\u6c7d\u8eca\u6216\u98db\u6a5f\uff0c\u8f15\u6613\u4fbf\u904e\u4e00\u5169\u5104\u884ccode\u3002 \u6700\u8fd1\u56e0\u5de5\u4f5c\u9700\u8981\u958b\u767cembedded\u8edf\u4ef6\uff0c\u53ea\u597d\u81e8\u6025\u62b1\u4f5b\u8173\u770b\u66f8\u60e1\u88dc\u3002\u9019\u672cSoftware Engineering For Embedded Systems\u662f\u884c\u5167\u7684\u5929\u66f8\uff0c\u5f9e\u6700\u521d\u7684project planning\uff0crequirement\uff0chardware integration\u958b\u59cb\uff0c\u4e00\u8def\u8b1b\u5230\u843d\u624b\u5bebcode\u7684\u5982\u4f55\u63c0embedded OS\uff0c real-time system\u7684\u7279\u6027\uff0c\u4e0d\u540c\u7a2e\u985e\u7684optimization, multi-core, \u5230testing strategy\uff0cmanagement, regulation standard\u90fd\u6709\u8b1b\u3002\u5168\u66f8\u4e00\u5343\u4e8c\u767e\u9801\uff0c\u5beb\u7d66\u884c\u5167\u4eba\u770b\uff0c\u6216\u7528\u4f5c\u5927\u5b78\u8ab2\u672c\uff0c\u6c92\u6709\u4e00\u5b9a\u7684\u7a0b\u5f0f\u958b\u767c\u7d93\u9a57\uff0c\u4e26\u7406\u89e3CPU\u7684\u7d50\u69cb\uff0c\u57fa\u672c\u4e0a\u5b8c\u5168\u770b\u4e0d\u660e\u767d\u3002 Embedded\u8edf\u4ef6\u8207\u5176\u4ed6\u4e00\u822c\u8edf\u4ef6\u6027\u8cea\u5b8c\u5168\u4e0d\u540c\uff0c\u6700\u5927\u5206\u5225\u662freal-time\u548creliability\u7684\u9650\u5236\u3002\u8209\u4f8b\u82e5\u5beb\u500b\u624b\u6a5f\u904a\u6232\uff0c\u67d0\u6bb5code\u8dd1\u5f97\u6162\uff0c\u756b\u9762\u7529\u4e86\u4e00\u5169\u500bframe\uff0c\u4e0d\u662f\u4ec0\u9ebc\u5927\u4e0d\u4e86\u7684\u4e8b\u60c5\u3002\u751a\u81f3\u7a0b\u5f0f\u6709bug\uff0c\u5728\u67d0\u53e4\u602a\u7684corner case\u4e0bhang\u6a5f\uff0c\u53ea\u8981\u4e0d\u592a\u904e\u96e2\u8b5c\u53c8fix\u5f97\u5feb\uff0c\u7528\u5bb6\u4e5f\u4e0d\u6703\u904e\u4efd\u82db\u8cac\u3002\u53ef\u662fembedded\u8edf\u4ef6\u5c31\u4e0d\u540c\u4e86\uff0c\u8dd1\u5f97\u6162\u6216\u6709bug\u53ef\u4ee5\u6b7b\u4eba\u3002\u5982\u6c7d\u8eca\u7684ABS\u7cfb\u7d71\uff0c\u8edf\u4ef6\u53cd\u61c9\u6642\u9593\u5fc5\u9700\u662f\u5e7e\u6beb\u79d2\u4ee5\u5167\uff0c\u800c\u4e14\u4efb\u4f55\u60c5\u6cc1\u4e0b\u90fd\u4e0d\u80fd\u51fa\u932f\u3002\u65e9\u5e7e\u5e74Toyato\u7684\u63a7\u5236\u6cb9\u9580\u8edf\u4ef6\u51fa\u4e86\u554f\u984c\uff0c\u5118\u7ba1\u53ea\u662f\u5e7e\u767e\u842c\u4efd\u4e4b\u4e00\u6a5f\u6703\u51fa\u932f\uff0c\u4f46\u53ea\u8981\u6709\u4e00\u5b97\u5e7e\u4e4e\u6b7b\u4eba\uff0c\u4fbf\u8981\u5168\u7ddarecall\u517c\u5de8\u984d\u7f70\u6b3e\u3002 \u5beb\u4e00\u822c\u8edf\u4ef6\u7684\u7a0b\u5f0f\u8a9e\u8a00\u4e94\u82b1\u767e\u9580\uff0c\u5bebembedded\u8edf\u4ef6\u5247\u662f\u6e05\u4e00\u8272C\/C++\uff0c\u4f54\u8d85\u904e\u4e5d\u6210\u5e02\u5834\u3002\u7576\u8edf\u4ef6\u8b1b\u6c42\u901f\u5ea6\u548cpredictability\uff0c\u53c8\u8981\u76f4\u63a5\u53bb\u64cd\u63a7\u786c\u9ad4\u4f4d\u5740\uff0cC\u9019\u500b\u53e4\u8001\u7684\u4f4e\u968e\u8a9e\u8a00\uff0c\u57fa\u672c\u4e0a\u4e0a\u662f\u552f\u4e00\u9078\u64c7\u3002\u5168\u66f8\u6700\u7cbe\u5f69\u7684\u7ae0\u7bc0\u662f\u8b1breal time OS\uff0c\u8b1b\u89e3interrupt service routine\uff0c context switch\uff0c thread priority\uff0csemaphore\uff0c mutex\uff0c mailbox\u7b49embedded\u8edf\u4ef6\u6700\u57fa\u672c\u7684\u55ae\u5143\u3002\u4e4b\u524d\u6211\u6b7b\u5543threadx\u7684document\u6642\u770b\u5230\u4e00\u77e5\u534a\u89e3\uff0c\u9019\u672c\u66f8\u4fbf\u628a\u90a3\u4e9b\u6168\u5ff5\u89e3\u91cb\u5f97\u5341\u5206\u6e05\u695a\u660e\u767d\u3002\u53e6\u5916multi-core\u90a3\u4e00\u7ae0\u4e5f\u5f88\u597d\u770b\uff0c\u8b1b\u89e3\u4e0d\u540c\u7684memory\u67b6\u69cb\uff0c\u7a0b\u5f0fparallelize\u8981\u6ce8\u610f\u7684\u4e8b\u9805\uff0c\u8207super computer\u8edf\u4ef6\u6709\u4e0d\u5c11\u76f8\u540c\u4e4b\u8655\u3002\u4e0d\u904e\u76ee\u524d\u5de5\u4f5c\u4e0a\u9084\u672a\u7528\u5230\uff0c\u53ea\u662f\u505c\u7559\u5728\u8a8d\u8b58\u7406\u8ad6\u5c64\u9762\u3002\u53e6\u5916\u8b1b\u8edf\u4ef6\u5b89\u5168standard\uff0c\u5982ISO 26262\uff08\u6c7d\u8eca\uff09\uff0cDO-178C\uff08\u98db\u6a5f\uff09\u7b49\u7684\u7ae0\u7bc0\uff0c\u60b6\u96d6\u7136\u6709\u9ede\u60b6\uff0c\u4f46\u90a3\u4e9bstandard\u4e2d\u4f7f\u7528technical terms\u5206\u985e\uff0c\u4e5f\u662f\u5fc5\u9700\u8981\u8a8d\u8b58\u3002\u8edf\u4ef6\u754c\u8fd1\u5e74\u6d41\u884cAgile\uff0c\u66f8\u4e2d\u4e5f\u6709\u4e00\u7ae0\u8b1bAgile\u548cembedded\u8edf\u4ef6\u958b\u767c\uff0c\u4e0d\u904e\u6211\u89ba\u5f97\u50b3\u7d71\u7684project managment\u6bd4\u8f03\u9069\u5408\uff0cembedded\u59cb\u7d42\u6709\u592a\u591a\u5916\u5728\u56e0\u7d20\u7684\u9650\u5236\u3002 \u5f88\u591a\u4eba\u8aaa\u505aIT\u5beb\u8edf\u4ef6\u5165\u884c\u9580\u6abb\u5e95\uff0c\u6280\u8853\u66f4\u65b0\u901f\u5ea6\u5feb\uff0c\u5f88\u5bb9\u6613\u88ab\u5f8c\u6d6a\u53d6\u4ee3\u3002Embedded\u8edf\u4ef6\u5247\u63a5\u8fd1\u50b3\u7d71\u5de5\u7a0b\u884c\u696d\uff0c\u5f88\u591a\u77e5\u8b58\u5927\u5b78\u53ea\u6559\u76ae\u6bdb\uff0c\u5beb\u7a0b\u5f0f\u5f88\u8b1b\u5be6\u6230\u7d93\u9a57\uff0c embedded debug\u66f4\u662f\u4e00\u9580\u6613\u5b78\u96e3\u7cbe\u7684\u85dd\u8853\u3002C\u8a9e\u8a00\u548cCPU\u67b6\u69cb\u57fa\u672c\u4e0a\u904e\u53bb\u5341\u5e7e\u4e8c\u5341\u5e74\u6c92\u6709\u5927\u8f49\u8b8a\uff0c\u5728\u53ef\u898b\u7684\u5c07\u4f86\u4ea6\u4e0d\u6703\u6709\u751a\u9ebc\u5927\u8f49\u8b8a\uff0c\u5de5\u4f5c\u74b0\u5883\u76f8\u5c0d\u7a69\u5b9a\u548c\u8f03\u96e3\u53d6\u4ee3\u3002\u8b80\u96fb\u8166\u79d1\u76ee\u7684\u4eba\uff0c\u4e0d\u59a8\u8003\u616e\u4e00\u4e0b\u884cembedded\u9019\u689d\u8def\u3002","rel":"","context":"In &quot;\u66f8\u8a55&quot;","block_context":{"text":"\u66f8\u8a55","link":"https:\/\/www.horace.org\/blog\/category\/_books\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/11\/software_engineering_for_embedded_systems.jpg?fit=689%2C846&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/11\/software_engineering_for_embedded_systems.jpg?fit=689%2C846&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/11\/software_engineering_for_embedded_systems.jpg?fit=689%2C846&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":5486,"url":"https:\/\/www.horace.org\/blog\/2011\/08\/29\/programming-linguistics-david-gelernter-and-suresh-jagannathan\/","url_meta":{"origin":9038,"position":4},"title":"Programming Linguistics &#8211; David Gelernter and Suresh Jagannathan","author":"hevangel","date":"August 29, 2011","format":false,"excerpt":"\u65e9\u524d\u56e0\u5de5\u4f5c\u4e0a\u7684\u9700\u8981\uff0c\u8981\u8a2d\u8a08\u4e00\u500b\u65b0\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u5728\u7db2\u4e0a\u627e\u53c3\u8003\u8cc7\u6599\u6642\uff0c\u9047\u4e0a\u4e86\u9019\u672c\u65e9\u5df2\u7d55\u7248\u7684\u5947\u66f8\u3002\u5dee\u4e0d\u591a\u6bcf\u7bc7\u6709\u95dc\u7a0b\u5f0f\u8a9e\u8a00\u8a2d\u8a08\u7684\u8ad6\u6587\uff0c\u5fc5\u5b9a\u5f15\u7528\u9019\u672c\u66f8\u3002\u9019\u5f15\u767c\u6211\u7684\u597d\u5947\u5fc3\uff0c\u65bc\u662f\u6211\u5927\u5b78\u7684\u5716\u66f8\u9928\u4e2d\uff0c\u627e\u4f86\u9019\u672c\u66f8\u501f\u4f86\u4e00\u8b80\u3002\u4e0d\u770b\u7336\u81ea\u53ef\u770b\u7f77\u65b9\u77e5\u81ea\u5df2\u4e95\u86d9\u89c0\u5929\uff0c\u96d6\u7136\u81ea\u4e2d\u5b78\u4ee5\u4f86\u5beb\u4e86\u7a0b\u5f0f\u8d85\u904e\u4e8c\u5341\u591a\u5e74\uff0c\u537b\u5f9e\u4f86\u6c92\u6709\u601d\u8003\u904e\u4f55\u8b02\u7a0b\u5f0f\u9019\u500b\u6700\u57fa\u672c\u7684\u554f\u984c\u3002\u4e00\u76f4\u9084\u4ee5\u70ba\u81ea\u5df2\u5beb\u7a0b\u5f0f\u529f\u592b\u4e0d\u932f\uff0c\u539f\u4f86\u4e0d\u904e\u662f\u5b78\u5230\u5e7e\u500b\u62db\u5f0f\u5957\u62f3\u7684\u5916\u529f\uff0c\u9019\u672c\u66f8\u8aaa\u7684\u537b\u662f\u5beb\u7a0b\u5f0f\u7684\u6613\u7b4b\u7d93\u5fc3\u6cd5\u3002\u8b80\u904e\u9019\u672c\u66f8\uff0c\u9762\u5c0d\u4efb\u4f55\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u4e5f\u90fd\u53ef\u4ee5\u4e00\u7406\u901a\u767e\u7406\u660e\u3002 \u4e00\u822c\u6559\u5beb\u7a0b\u5f0f\u7684\u66f8\u85c9\uff0c\u901a\u5e38\u5f9e\u7a0b\u5f0f\u7684\u6587\u6cd5\u548c\u61c9\u7528\u4f8b\u5b50\u4f5c\u6559\u6750\uff0c\u5b78\u751f\u8ddf\u8457\u7df4\u7fd2\u984c\u53bb\u5b78\uff0c\u6162\u6162\u4fbf\u53ef\u4ee5\u5beb\u51fa\u50cf\u6a23\u7684\u7a0b\u5f0f\uff0c\u53ef\u662f\u59cb\u7d42\u6709\u9ede\u5152\u50cf\u9e1a\u9d61\u5b78\u820c\uff0c\u6c92\u932f\u80fd\u5920\u5beb\u7a0b\u5f0f\uff0c\u4f46\u537b\u4e0d\u660e\u767d\u7a0b\u5f0f\u662f\u4ec0\u9ebc\u3002\u4f46\u9019\u672c\u66f8\u6c92\u6709\u6559\u4efb\u4f55\u4e00\u7a2e\u7279\u5b9a\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u800c\u662f\u5f9e\u8a9e\u8a00\u5b78\u7684\u89d2\u5ea6\uff0c\u53bb\u5206\u6790\u6b77\u53f2\u4e0a\u91cd\u8981\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u5230\u5e95\u65b0\u7684\u6587\u6cd5\u5e36\u4f86\u4ec0\u9ebc\u7684\u8f49\u8b8a\uff0c\u800c\u540c\u6642\u4ea6\u6307\u51fa\u4e0d\u8ad6\u4ec0\u9ebc\u8f49\u8b8a\uff0c\u4e5f\u90fd\u662f\u842c\u8b8a\u4e0d\u96e2\u5176\u4e2d\u7684\u57fa\u672c\u89c0\u5ff5\u3002 \u66f8\u672c\u4e00\u958b\u59cb\u4fbf\u6f84\u6e05\u4ec0\u9ebc\u662f\u7a0b\u5f0f\uff0c\u7a0b\u5f0f\u4e0d\u662f\u8edf\u4ef6\u6216\u786c\u4ef6\u7684\u5206\u5225\uff0c\u751a\u81f3\u96fb\u8166\u672c\u8eab\u662f\u5426\u5b58\u5728\u4e5f\u4e0d\u91cd\u8981\uff0c\u7a0b\u5f0f\u662f\u4e00\u500b\u62bd\u50cf\u7684\u6a5f\u5668\uff0c\u53ea\u662f\u77e5\u8a0a\u7684\u67d0\u4e00\u7a2e\u72c0\u614b\u3002\u7a0b\u5f0f\u8a9e\u8a00\u53ea\u662f\u4ee3\u8868\u7a0b\u5f0f\u7684\u7b26\u865f\uff0c\u4efb\u4f55\u7a0b\u5f0f\u8a9e\u8a00\u5728\u62bd\u50cf\u7684\u5c64\u9762\u4e5f\u662f\u5171\u901a\u548c\u7b49\u540c\u7684\uff0c\u53ea\u662f\u4e0d\u540c\u8a9e\u8a00\u8a2d\u8a08\u7684\u91cd\u9ede\u53d6\u5411\uff0c\u6709\u610f\u7121\u610f\u5de6\u53f3\u4e86\u7a0b\u5f0f\u7de8\u5beb\u54e1\u7684\u601d\u8003\u6a21\u5f0f\u3002\u6574\u672c\u66f8\u7684\u9748\u9b42\u4fbf\u662f\u7b2c\u4e8c\u7ae0\u4e2d\uff0c\u63d0\u51fa\u7684\u5b8c\u7f8e\u7a0b\u5f0f\u6a5f\u5668\u7684\u6a21\u578b\u3002\u4e0d\u8ad6\u4efb\u4f55\u7a0b\u5f0f\uff0c\u4e5f\u53ef\u4ee5\u7528\u6642\u9593\uff08\u51fd\u6578\uff09\u548c\u7a7a\u9593\uff08\u8a18\u61b6\uff09\u53bb\u8868\u9054\uff0c\u800c\u9019\u5169\u8005\u662f\u53ef\u4ee5\u4e92\u76f8\u8f49\u63db\u3002\u975c\u6b62\u7684\u7a0b\u5f0f\u6e90\u78bc\u548c\u904b\u884c\u4e2d\u7684\u7a0b\u5f0f\uff0c\u5728\u62bd\u50cf\u5c64\u9762\u662f\u540c\u4e00\u6a23\u6771\u897f\uff0c\u4e0d\u904e\u662f\u6642\u9593\u548c\u7a7a\u9593\u7684\u95dc\u4fc2\u6539\u8b8a\u4e86\u3002 \u63a5\u4e0b\u4f86\u7684\u6240\u6709\u7ae0\u7bc0\uff0c\u90fd\u662f\u56de\u9867\u7a0b\u5f0f\u8a9e\u8a00\u7684\u767c\u5c55\uff0c\u628a\u6bcf\u4e00\u500b\u91cd\u8981\u91cc\u7a0b\u7891\u7684\u8a9e\u8a00\uff0c\u7528\u5b8c\u7f8e\u7a0b\u5f0f\u6a5f\u5668\u53bb\u5206\u6790\u4f5c\u6bd4\u8f03\u3002\u66f8\u4e2d\u63d0\u53ca\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u96a8\u4e86\u505a\u5b78\u8853\u7814\u7a76\u5916\uff0c\u73fe\u4eca\u5df2\u6c92\u6709\u4ec0\u9ebc\u4eba\u7528\u3002\u53cd\u89c0\u73fe\u5728\u6700\u6d41\u884c\u7684\u5e7e\u7a2e\u8a9e\u8a00\uff0c\u672c\u8eab\u4e26\u6c92\u6709\u7368\u5275\u6027\u53ef\u8a00\uff0c\u53ea\u662f\u5728\u8d70\u524d\u4eba\u958b\u767c\u51fa\u4f86\u7684\u8def\u3002\u9019\u672c\u66f8\u5beb\u65bc\u4e00\u4e5d\u4e5d\u96f6\u5e74\uff0c\u8d85\u904e\u4e8c\u5341\u5e74\u524d\u3002\u53ef\u662f\u904e\u53bb\u4e8c\u5341\u5e74\uff0c\u7a0b\u5f0f\u8a9e\u8a00\u7684\u767c\u5c55\u537b\u505c\u6eef\u4e0d\u524d\uff0c\u53ea\u662f\u4e0d\u65b7\u5efa\u7acb\u66f4\u591a\u7684\u7a0b\u5f0f\u5eab\uff0c\u4f46\u6700\u5728\u57fa\u672c\u7684\u7a0b\u5f0f\u8a9e\u8a00\u7684\u601d\u8003\u65b9\u6cd5\u4e0a\uff0c\u8207\u4e8c\u5341\u5e74\u524d\u6bd4\u8f03\u6c92\u6709\u591a\u5c11\u7a81\u7834\u3002 \u59cb\u7d42\u9019\u662f\u4e00\u672c\u5927\u90e8\u982d\u7684\u5b78\u8853\u66f8\uff0c\u6211\u5f88\u96e3\u5728\u6b64\u4ee5\u6709\u9650\u7684\u6587\u5b57\uff0c\u7528\u4e09\u8a00\u5169\u8a9e\u628a\u66f8\u4e2d\u6168\u5ff5\u8868\u9054\u6e05\u695a\u3002\u6211\u7279\u5225\u60f3\u8aaa\u7684\u662f\uff0c\u7576\u6211\u8b80\u5230\u5b8c\u7f8e\u7a0b\u5f0f\u6a5f\u5668\u7684\u7406\u8ad6\uff0c\u6211\u611f\u5230\u53ee\u4e00\u8072\u958b\u7ac5\u7684\u611f\u89ba\uff0c\u591a\u5e74\u4f86\u5beb\u7a0b\u5f0f\u4e0d\u660e\u6240\u4ee5\u7684\u5730\u65b9\uff0c\u5c31\u5728\u9019\u4e00\u523b\u8c41\u7136\u9818\u609f\u4e86\u3002\u82e5\u679c\u5beb\u7a0b\u5f0f\u4e5f\u6709\u79aa\u7684\u8a71\uff0c\u9019\u7121\u7570\u4fbf\u662f\u9813\u609f\u7684\u5883\u754c\u3002\u8b80\u96fb\u8166\u7684\u670b\u53cb\uff0c\u9760\u5beb\u7a0b\u5f0f\u7dad\u751f\u7684\u670b\u53cb\uff0c\u9019\u662f\u4e00\u672c\u6703\u6539\u8b8a\u4f60\u60f3\u6cd5\u7684\u66f8\u3002\u9019\u66f8\u672c\u5b78\u6821\u4e0d\u6703\u6559\u4ea6\u7121\u6cd5\u6559\uff0c\u56e0\u70ba\u8981\u5beb\u7a0b\u5f0f\u591a\u5e74\uff0c\u5fc3\u4e2d\u7522\u751f\u7121\u6578\u554f\u865f\uff0c\u624d\u53ef\u4ee5\u770b\u61c2\u7a0b\u5f0f\u7684\u7384\u5999\u3002","rel":"","context":"In &quot;\u66f8\u8a55&quot;","block_context":{"text":"\u66f8\u8a55","link":"https:\/\/www.horace.org\/blog\/category\/_books\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2011\/05\/eaf2f205480053d593868705841434d414f4541.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":11720,"url":"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/","url_meta":{"origin":9038,"position":5},"title":"SQL Clearly Explained 3rd Edition &#8211; Jan L. Harrington","author":"hevangel","date":"September 10, 2016","format":false,"excerpt":"\u5b78\u7fd2\u67b6\u8a2d\u7db2\u7ad9\uff0c\u8981\u4e00\u6b65\u6b65\u6162\u5b78\uff0c\u4e0d\u8981\u5984\u60f3\u4e00\u6b65\u767b\u5929\u3002\u539f\u672c\u5b78\u5b8cRuby\u5f8c\uff0c\u6253\u7b97\u76f4\u63a5\u5b78\u5bebRAILS\uff0c\u7136\u5f8c\u767c\u73fe\u81ea\u5df2\u4e0d\u61c2SQL\u3002\u6c92\u6709SQL\u7684\u57fa\u672c\u529f\u592b\uff0c\u4e0d\u80fd\u6709\u6548\u5730\u67b6\u8a2d\u7db2\u7ad9\uff0c\u4efb\u4f55\u7db2\u7ad9\u90fd\u8981\u7528database\u4f86\u5132\u5b58\u8cc7\u6599\u554a\u3002\u8aaa\u8d77database\u7a0b\u5f0f\uff0c\u5f88\u591a\u5e74\u524d\u6211\u5b78\u904edBase III\uff0c\u5728\u4e2d\u5b78\u96fb\u8166\u79d1\u88ab\u8feb\u5b78\u4e86\u4e00\u500b\u5b78\u671f\u3002\u7576\u5e74\u89ba\u5f97\u5b78\u4e00\u500b\u904e\u6642\u7684\u8edf\u4ef6\u5f88\u6d6a\u8cbb\u6642\u9593\uff0c\u60f3\u4e0d\u5230database\u7a0b\u5f0f\u8a2d\u8a08\u7684\u6700\u57fa\u672c\u6168\u5ff5\uff0c\u5eff\u5e7e\u5e74\u5f8c\u6703\u5f9e\u5c01\u5875\u7684\u8a18\u61b6\u4e2d\u627e\u51fa\u4f86\u6709\u7528\u3002 \u6211\u6311\u9078\u4e86\u597d\u5e7e\u672c\u5b78\u7fd2SQL\u7684\u66f8\uff0c\u601d\u524d\u60f3\u5f8c\u5230\u5e95\u7528\u90a3\u4e00\u672c\u597d\uff0c\u6700\u5f8c\u6c7a\u5b9a\u7528\u9019\u672cSQL Clearly Explained\u70ba\u4e3b\u5e79\uff0c\u518d\u7528\u5169\u672cO'Reilly\u7684\u66f8\u70ba\u8f14\u52a9\u53c3\u8003\u3002\u5f88\u591aSQL\u7684\u66f8\u53ea\u6703\u6559\u67d0\u4e00\u500bSQL server\u7684\u61c9\u7528\uff0c\u5f88\u5bb9\u6613\u898b\u6a39\u4e0d\u898b\u6797\uff0c\u5206\u4e0d\u6e05\u5230\u5e95\u90a3\u4e9b\u662fSQL\u8a9e\u8a00\u672c\u8eab\uff0c\u90a3\u4e9b\u662f\u67d0\u4e00\u500bserver\u7684syntax\u3002\u9019\u672c\u66f8\u5f9eSQL\u6a19\u6e96\u5165\u624b\uff0c\u7b2c\u4e00\u7ae0\u4e0d\u662f\u6559\u4f60\u5b89\u88dd\u8edf\u4ef6\uff0c\u800c\u662f\u5f88\u6709\u7cfb\u7d71\u5730\u8b1b\u89e3relational database\u7684\u7406\u8ad6\u3002\u53ea\u8981\u57fa\u672c\u77e5\u8b58\u6e05\u695a\u660e\u767d\uff0c\u5b78syntax\u5f88\u7c21\u55ae\uff0c\u53ef\u4ee5\u908a\u7528\u908a\u5b78\uff0c\u67e5document\u6478\u6478\u4e0b\u5c31\u4e0a\u624b\u3002\u90a3\u5169\u672cO'Reilly\u7684\u66f8\uff0c\u4e00\u672c\u6559SQLite\uff0c\u53e6\u4e00\u672c\u6559MySQL\uff0c\u5169\u5927\u5e38\u7528\u7684database\u3002\u90a3\u5169\u672c\u66f8\u4e0d\u662f\u597d\u7684\u5165\u9580\u66f8\uff0c\u5167\u5bb9\u592a\u8457\u91cd\u8b1bsyntax\uff0c\u4e0d\u904e\u537b\u662f\u5341\u5206\u6709\u7528\u7684reference\u66f8\u3002 Relational database\u7684\u7406\u8ad6\uff0c\u8aaa\u96e3\u4e0d\u96e3\uff0c\u8aaa\u6613\u4e0d\u6613\uff0c\u9818\u609f\u5230\u5c31\u4e00\u7406\u901a\u767e\u7406\u660e\u3002Database\u662f\u4ec0\u9ebc\uff0c\u4e0d\u5916\u4e4e\u4e00\u5806table\u3002Table\u5c31\u597d\u4f3cExcel\u7684spreadsheet\u5481\uff0c\u6253\u6a6b\u6253\u76f4\u4e00\u884c\u884c\uff0c\u6bcf\u683c\u5c31\u662f\u4e00\u9805\u8cc7\u6599\u3002\u6bcf\u4e00\u884c\u6709\u4e00\u683c\u4fc2primary key\uff0c\u7528\u4f86look up\u90a3\u4e00\u884c\u3002\u4e00\u884c\u4e4b\u53c8\u53ef\u4ee5\u6709foriegn key\uff0c\u9023\u7d50\u53e6\u5916\u4e00\u500btable\u7684primary key\uff0c\u8868\u660etable\u8207table\u4e4b\u9593\u884c\u8207\u884c\u7684\u95dc\u4fc2\uff0c\u8b02\u4e4brelation\u662f\u4e5f\u3002\u6aa2\u67e5\u641c\u5c0bdatabase\u53ea\u67096\u500b\u57fa\u672c\u64cd\u4f5c\uff0c\u6240\u6709\u90fd\u53ea\u662f\u842c\u8b8a\u4e0d\u96e2\u5176\u4e2d\u30026\u500b\u64cd\u4f5c\u5305\u62ec\uff0cfilter\u884c(WHERE)\u6216filter\u5217(SELECT)\uff0c\u628a\u5169\u7d44\u884c\u7684\u884c\u52a0\u8d77\u4f86(UNION)\uff0c\u627e\u51fa\u76f8\u540c\u7684\u884c(INTERSECT)\uff0c\u627e\u51fa\u4e0d\u540c\u7684\u884c(EXCEPT)\uff0c\u800c\u6700\u91cd\u8981\u7684\u64cd\u4f5c\u662fJOIN\uff0c\u5373\u4fc2\u9023\u7d50\u8d77primary key\u540cforeign key\u65e2relation\u3002 \u6b64\u66f8\u7684\u7b2c\u4e8c\u90e8\u4efd\u6559SQL Syntax\uff0c\u5be6\u7fd2\u7b2c\u4e00\u90e8\u4efd\u7684SQL\u7406\u8ad6\u3002\u9019\u672c\u66f8\u7684\u53e6\u4e00\u500b\u512a\u9ede\uff0c\u662f\u66f8\u4e2d\u9644\u5e36\u73fe\u6210\u7684database\uff0c\u4e00\u9593\u4e8c\u624b\u66f8\u5e97\u7684\u5b58\u8ca8\u8cb7\u8ce3\u8cc7\u6599\uff0c\u4e0d\u4f3c\u5176\u4ed6\u66f8\u53ea\u8b1b\u7a7a\u8ac7syntax\u3002\u6211\u628a\u66f8\u4e2d\u7684\u4f8b\u5b50\u8f38\u5165\u4e86SQLite\u6a94\u6848\uff0c\u4e26\u9644\u4e0a\u5404table\u7684csv\u6a94\u6848\uff0c\u6709\u8208\u8da3\u7684\u670b\u53cb\u53ef\u4ee5\u5728\u6b64\u4e0b\u8f09SQL\u3000Clearly Explained Sample Database\u3002\u5b78\u7fd2SQL\u7684\u6b21\u5e8f\uff0c\u6700\u5148\u5b78\u641c\u67e5\uff0c\u5982\u4f55\u5728database\u4e2d\u627e\u51fa\u4f60\u60f3\u8981\u7684\u8cc7\u6599\uff0c\u5176\u6b21\u5b78\u5982\u4f55\u66f4\u65b0\u8cc7\u6599\uff0c\u6700\u5f8c\u624d\u5b78\u5982\u4f55\u5efa\u7acb\u8a2d\u8a08database\u7684table\u3002\u6240\u4ee5\u6709\u4e00\u500b\u73fe\u6210\u7684database\uff0c\u518d\u8ddf\u8457\u66f8\u4e2d\u7684\u4e0d\u540c\u61c9\u7528\u4f8b\u5b50\uff0c\u5b78\u641c\u67e5\u5f88\u65b9\u4fbf\uff0c\u4e8b\u534a\u529f\u90e8\u3002\u66f4\u65b0\u8cc7\u6599\u7684syntax\u5f88\u7c21\u55ae\uff0c\u6709\u5f88\u8f14\u52a9function\u8b93\u4f60\u53ef\u4ee5\u5beb\u5c11\u5e7e\u884ccode\uff0c\u6700\u91cd\u8981\u7684\u6168\u5ff5\u662fACID transaction\uff0c\u8aaa\u7a7f\u4e86\u5c31\u662fmulti-threads\u7684synchronization problem\uff0c\u53ea\u662f\u6539\u4e86\u500b\u597d\u807d\u7684acronym\u3002\u8a2d\u8a08table\u90a3\u4e00\u7ae0\u6559CREATE\u7684syntax\uff0c\u4e0d\u904e\u6211\u60f3\u6c92\u6709\u4eba\u6703\u7528SQL\u53bb\u76f4\u63a5\u8d77table\uff0c\u4e0d\u662f\u6709\u5176\u4ed6GUI\u5de5\u5177\u66f4\u597d\u7528\u55ce\u3002\u8d77\u4e00\u500b\u6709\u6548\u7387\u7684table\u662f\u9580\u5f88\u9ad8\u6df1\u7684\u5b78\u554f\uff0c\u5165\u9580\u66f8\u6559syntax\u53ea\u662f\u6559\u4e86table design\u7684\u76ae\u6bdb\u3002 \u9918\u4e0b\u7684\u7b2c\u4e09\u90e8\u4efd\u548c\u7b2c\u56db\u90e8\u4efd\uff0c\u6211\u53ea\u662f\u5feb\u901f\u7565\u8b80\u3002SQL\u672c\u8eab\u662f\u4e00\u500bturing-complete\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u7b2c\u4e09\u90e8\u4efd\u6559SQL\u5beb\u4e00\u822c\u7a0b\u5f0f\u7684syntax\uff0c\u53ea\u662f\u6211\u4e0d\u660e\u767d\u6709\u4ec0\u9ebc\u4eba\u6703\u7528\uff0cSQL\u7684PROCEDURE\u548cTRIGGER\u53ea\u662fsearch filter\u7684\u8f14\u52a9\u5de5\u5177\uff0c\u771f\u6b63\u8981\u505aheavy lifting\u8cc7\u6599\u904b\u7b97\uff0c\u70ba\u4ec0\u9ebc\u4e0d\u628a\u8cc7\u6599\u8b80\u51fa\u4f86\u5f8c\uff0c\u7528host\u529f\u80fd\u66f4\u5f37\u5927\u7684programming langauge\u53bbprocess\u3002\u7b2c\u56db\u90e8\u4efd\u6559SQL\u4e2dXML\u7684\u529f\u80fd\u548cObject Relational Data Model\uff0c\u4e0d\u904e\u9664\u4e86Oracle\u6216Microsft\u90a3\u4e9b\u5546\u7528\u7d1a\u7684server\uff0cSQLite\u548cMySQL\u90fd\u4e0d\u652f\u63f4\u9019\u4e9b\u529f\u80fd\uff0c\u4e0d\u904e\u8981\u641c\u67e5\u66f4\u65b0XML\uff0c\u7528DOM\u4e0d\u662f\u66f4\u65b9\u4fbf\u55ce\uff1f\u6211\u60f3\u4e0d\u5230\u6709\u4ec0\u9ebc\u7406\u7531\uff0c\u8981\u628aXML\u76f4\u63a5\u7576\u6578\u64da\u5132\u5b58\u5728database\u4e2d\uff0c\u70ba\u4ec0\u9ebc\u4e0d\u5148\u89e3\u8b80\u4e86XML\u4e2d\u7684\u8cc7\u6599\uff0c\u518d\u6709\u7cfb\u7d71\u5730\u5132\u653e\u5165table\u4e2d\u5462\uff1fOpen Source\u7684server\u4e2d\uff0c\u53ea\u6709PostgreSQL\u652f\u63f4Object Relational Data Model\uff0c\u7c21\u55ae\u4f86\u8aaa\u5c31\u662f\u628aOOP\u4e2d\u7684object\u5132\u5b58\u5728database\u4e2d\uff0c\u61c2OOP\u7684\u4eba\u5b78Object Model\u5f88\u7c21\u55ae\u3002Object Relation\u5c31\u5728table\u7684\u4e00\u683c\u5167\uff0c\u53ef\u4ee5\u5132\u5b58\u4e00\u500bobject\uff0c\u6216array\uff0cset\u7b49\u7b49\uff0c\u539f\u672ctable\u7684\u4e00\u683c\u53ea\u53ef\u4ee5\u5132\u5b58\u4e00\u500b\u6578\u503c\u3002\u53e6\u5916\u4e00\u884c\u53ef\u4ee5\u7528pointer\u76f4\u63a5link\u53bb\u53e6\u4e00\u884c\u5ea6\uff0c\u6bd4\u7528foreign key\u66f4\u6709\u6548\u7387\uff0c\u56e0\u70ba\u4e0d\u7528\u505asearch\u3002 \u5b78\u5b8cSQL\uff0c\u5ffd\u7136\u5f15\u8d77\u6211\u5c0ddatabase\u7684\u8208\u8da3\uff0c\u66ab\u6642\u653e\u4e0bRAILS\uff0c(\u53cd\u6b63\u8981\u7b49RAILS-5\u7684\u65b0\u66f8\u51fa\u7248\uff0c\u6c92\u6709\u7406\u7531\u8d70\u53bb\u5b78RAILS-4\uff09\uff0c\u6c7a\u5b9a\u5148\u5b78\u5176\u4ed6No-SQL database\uff0c\u770b\u770b\u9084\u6709\u4ec0\u9ebc\u5176\u4ed6\u5132\u5b58\u8cc7\u6599\u7684\u5176\u4ed6\u65b9\u6cd5\uff0c\u624d\u6c7a\u5b9a\u7db2\u7ad9\u8a72\u63a1\u7528\u90a3\u7a2edatabase\u6700\u597d\u3002","rel":"","context":"In &quot;\u66f8\u8a55&quot;","block_context":{"text":"\u66f8\u8a55","link":"https:\/\/www.horace.org\/blog\/category\/_books\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?fit=677%2C821&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?fit=677%2C821&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?fit=677%2C821&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"jetpack_likes_enabled":false,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/posts\/9038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/comments?post=9038"}],"version-history":[{"count":5,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/posts\/9038\/revisions"}],"predecessor-version":[{"id":9044,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/posts\/9038\/revisions\/9044"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/media\/9039"}],"wp:attachment":[{"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/media?parent=9038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/categories?post=9038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/tags?post=9038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}