{"id":8976,"date":"2024-09-02T17:15:06","date_gmt":"2024-09-02T08:15:06","guid":{"rendered":"https:\/\/shin-ai.wakayama.jp\/hyakunin\/?p=8976"},"modified":"2024-09-02T17:15:06","modified_gmt":"2024-09-02T08:15:06","slug":"the-zen-of-high-school-mathematics%e3%80%80%e6%b7%ba%e9%87%8e%e7%91%a0%e4%b8%80","status":"publish","type":"post","link":"https:\/\/shin-ai.wakayama.jp\/hyakunin\/2024\/09\/02\/the-zen-of-high-school-mathematics%e3%80%80%e6%b7%ba%e9%87%8e%e7%91%a0%e4%b8%80\/","title":{"rendered":"The Zen of High School Mathematics\u3000\u6dfa\u91ce\u7460\u4e00"},"content":{"rendered":"<p>\uff08\u304a\u305d\u3089\u304f\u672c\u8a18\u4e8b\u306e\u8aad\u800599%\u306b\u306f\u8208\u5473\u304c\u306a\u3044\u8a71\u3067\u3059\u2026\uff09<\/p>\n<p>\u6700\u8fd1\u4eba\u6c17\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e1\u3064\u306bPython\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u590f\u3001Python\u53e4\u53c2\u958b\u767a\u8005\u306eTim Peters\u304c\u7406\u4e8b\u4f1a\u306b\u958b\u767a\u8005\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3092\u8ffd\u3044\u51fa\u3055\u308c\u305f\u4e91\u3005\u3068\u3044\u3046\u3053\u3068\u3067\u8a71\u984c\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306eTim Peters\u3055\u3093\u3001Python\u3067import this\u3068\u5165\u529b\u3059\u308b\u3068\u73fe\u308c\u308bThe Zen of Python\u306e\u57f7\u7b46\u8005\u3067\u3059\u3002\uff08<a href=\"https:\/\/peps.python.org\/pep-0020\/\">ref: The Zen of Python<\/a>\uff09<\/p>\n<p>\uff08\u3042\u307e\u308a\u306b\u3082\u30cd\u30bf\u4e0d\u8db3\u3067\uff09\u3053\u308c\u306e\u30d1\u30ed\u30c7\u30a3\u3092\u4f5c\u6210\u3057\u3066\u307f\u305f\u306e\u304c\u3001\u4eca\u56de\u306e\u5185\u5bb9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<hr \/>\n<p>Beautiful is better than ugly.<\/p>\n<p>\uff08\u8868\u8a18\u306f\uff09\u919c\u3044\u3088\u308a\u7f8e\u3057\u3044\u307b\u3046\u304c\u3044\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>Explicit is better than implicit.<\/p>\n<p>\uff08\u8a08\u7b97\u904e\u7a0b\u306f\uff09\u7701\u7565\u3059\u308b\u3088\u308a\u660e\u793a\u3059\u308b\u307b\u3046\u304c\u3044\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>Simple is better than complex.<\/p>\n<p>\uff08\u8a08\u7b97\u904e\u7a0b\u306f\uff09\u8907\u96d1\u3067\u3042\u308b\u3088\u308a\u306f\u5e73\u6613\u3067\u3042\u308b\u307b\u3046\u304c\u3044\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>Complex is better than complicated.<\/p>\n<p>\u305d\u308c\u3067\u3082\u3001\u8fbc\u307f\u5165\u3063\u3066\u3044\u308b\u3088\u308a\u306f\u8907\u96d1\u3067\u3042\u308b\u307b\u3046\u304c\u307e\u3057\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>Writing out the steps is better than mental calculation.<\/p>\n<p>\u6697\u7b97\u3088\u308a\u306f\u904e\u7a0b\u3092\u66f8\u3044\u305f\u65b9\u304c\u826f\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>Sparse is better than dense.<\/p>\n<p>\uff08\u8a08\u7b97\u904e\u7a0b\u306f\uff09\u5bc6\u96c6\u3057\u3066\u3044\u308b\u3088\u308a\u306f\u9699\u9593\u304c\u3042\u308b\u307b\u3046\u304c\u3044\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>Readability counts.<\/p>\n<p>\u8aad\u307f\u3084\u3059\u3044\u3053\u3068\u306f\u5584\u3067\u3042\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>Special cases aren&#8217;t special enough to leave the answer blank.<\/p>\n<p>\uff08\u89e3\u6cd5\u304c\uff09\u7279\u6b8a\u3067\u3042\u308b\u3053\u3068\u306f\u89e3\u7b54\u6b04\u3092\u7a7a\u767d\u306b\u3059\u308b\u7406\u7531\u306b\u306a\u3089\u306a\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>Although accuracy beats speed.<\/p>\n<p>\u65e9\u3055\u3092\u6c42\u3081\u308b\u3068\u6b63\u78ba\u3055\u304c\u5931\u308f\u308c\u308b\u3053\u3068\u304c\u3042\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>Ambiguity should be clarified.<\/p>\n<p>\uff08\u6761\u4ef6\u306e\uff09\u66d6\u6627\u3055\u306f\u9ed9\u3063\u3066\u653e\u7f6e\u3057\u3066\u306f\u306a\u3089\u306a\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>Unless it is self-evident.<\/p>\n<p>\u305f\u3060\u3057\u3001\u81ea\u660e\u306a\u5834\u5408\u306f\u9664\u304f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>In the face of ambiguity, refuse the temptation to guess.<\/p>\n<p>\u66d6\u6627\u306a\u3082\u306e\u306b\u51fa\u9022\u3063\u305f\u3089\u3001\u305d\u306e\u610f\u5473\u3092\u9069\u5f53\u306b\u63a8\u6e2c\u3057\u3066\u306f\u3044\u3051\u306a\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>There should be one&#8211; and preferably known&#8211;obvious way to do it.<\/p>\n<p>\u4f55\u304b\u3044\u3044\u89e3\u6cd5\u304c\u3042\u308b\u306f\u305a\u3060\u3001\u3067\u304d\u308c\u3070\u5b66\u3093\u3060\u899a\u3048\u304c\u3042\u308b\u660e\u3089\u304b\u306a\u89e3\u6cd5\u304c\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>Although that way may not be obvious at first unless visualized.<\/p>\n<p>\u8996\u899a\u5316\u3057\u306a\u3044\u9650\u308a\u3001\u305d\u306e\u3084\u308a\u65b9\u306f\u4e00\u76ee\u898b\u305f\u3060\u3051\u3067\u306f\u308f\u304b\u308a\u306b\u304f\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>Doing is better than just thinking.<\/p>\n<p>\u305f\u3060\u982d\u306e\u4e2d\u3067\u8003\u3048\u308b\u3060\u3051\u3088\u308a\u306f\u3001\u624b\u3092\u52d5\u304b\u3059\u65b9\u304c\u826f\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>Although just thinking is often better than *blindly* doing.<\/p>\n<p>\u3067\u3082\u3001\u76f2\u76ee\u7684\u306b\u624b\u3092\u52d5\u304b\u3059\u3088\u308a\u306f\u982d\u306e\u4e2d\u3067\u8003\u3048\u308b\u3060\u3051\u306e\u65b9\u304c\u30de\u30b7\u3060\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>If the method is hard to explain, it&#8217;s a bad idea.<\/p>\n<p>\u8aac\u660e\u3059\u308b\u306e\u304c\u96e3\u3057\u3044\u306e\u306a\u3089\u3001\u305d\u308c\u306f\u60aa\u3044\u89e3\u6cd5\u3067\u3042\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>If the method is easy to explain, it may be a good idea.<\/p>\n<p>\u5bb9\u6613\u306b\u8aac\u660e\u3067\u304d\u308b\u306e\u306a\u3089\u3001\u304a\u305d\u3089\u304f\u305d\u308c\u306f\u826f\u3044\u89e3\u6cd5\u3067\u3042\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>References are one honking great dictionary &#8212; let&#8217;s do more of those!<\/p>\n<p>\u53c2\u8003\u66f8\u306f\u512a\u308c\u305f\u8f9e\u66f8\u3067\u3042\u308b\u305f\u3081\u3001\u7a4d\u6975\u7684\u306b\u5229\u7528\u3057\u3088\u3046\uff01<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>\u2026\u82f1\u8a9e\u306e\u8aa4\u308a\u3092\u898b\u3064\u3051\u305f\u95a2\u4fc2\u8005\u306f\u3001\u3053\u3063\u305d\u308a\u3068\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uff08\u304a\u305d\u3089\u304f\u672c\u8a18\u4e8b\u306e\u8aad\u800599%\u306b\u306f\u8208\u5473\u304c\u306a\u3044\u8a71\u3067\u3059\u2026\uff09 \u6700\u8fd1\u4eba\u6c17\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e1\u3064\u306bPython\u304c\u3042\u308a\u307e\u3059\u3002 \u3053\u306e\u590f\u3001Python\u53e4\u53c2\u958b\u767a\u8005\u306eTim Peters\u304c\u7406\u4e8b\u4f1a\u306b\u958b\u767a\u8005\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3092\u8ffd\u3044\u51fa\u3055\u308c\u305f\u4e91\u3005\u3068\u3044\u3046&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8976","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/shin-ai.wakayama.jp\/hyakunin\/wp-json\/wp\/v2\/posts\/8976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shin-ai.wakayama.jp\/hyakunin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shin-ai.wakayama.jp\/hyakunin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shin-ai.wakayama.jp\/hyakunin\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/shin-ai.wakayama.jp\/hyakunin\/wp-json\/wp\/v2\/comments?post=8976"}],"version-history":[{"count":2,"href":"https:\/\/shin-ai.wakayama.jp\/hyakunin\/wp-json\/wp\/v2\/posts\/8976\/revisions"}],"predecessor-version":[{"id":8978,"href":"https:\/\/shin-ai.wakayama.jp\/hyakunin\/wp-json\/wp\/v2\/posts\/8976\/revisions\/8978"}],"wp:attachment":[{"href":"https:\/\/shin-ai.wakayama.jp\/hyakunin\/wp-json\/wp\/v2\/media?parent=8976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shin-ai.wakayama.jp\/hyakunin\/wp-json\/wp\/v2\/categories?post=8976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shin-ai.wakayama.jp\/hyakunin\/wp-json\/wp\/v2\/tags?post=8976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}