{"id":9981,"date":"2024-07-22T15:42:04","date_gmt":"2024-07-22T06:42:04","guid":{"rendered":"https:\/\/yumishin.com\/?p=9981"},"modified":"2024-07-22T15:42:04","modified_gmt":"2024-07-22T06:42:04","slug":"the-rules-of-programming-%e3%83%ab%e3%83%bc%e3%83%ab1-%e3%81%a7%e3%81%8d%e3%82%8b%e3%81%a0%e3%81%91%e5%8d%98%e7%b4%94%e3%81%a7%e3%81%82%e3%82%8b%e3%81%b9%e3%81%8d%e3%81%a0%e3%81%8c%e3%80%81%e5%8d%98","status":"publish","type":"post","link":"https:\/\/yumishin.com\/?p=9981","title":{"rendered":"The Rules of Programming \u30eb\u30fc\u30eb1 | \u3067\u304d\u308b\u3060\u3051\u5358\u7d14\u3067\u3042\u308b\u3079\u304d\u3060\u304c\u3001\u5358\u7d14\u5316\u3057\u3066\u306f\u3044\u3051\u306a\u3044"},"content":{"rendered":"<p>\u3069\u3046\u3082<\/p>\n<p>\u4eca\u56de\u306fThe Rules of Programming\u306e\u30eb\u30fc\u30eb1\u300c\u3067\u304d\u308b\u3060\u3051\u5358\u7d14\u3067\u3042\u308b\u3079\u304d\u3060\u304c\u3001\u5358\u7d14\u5316\u3057\u3066\u306f\u3044\u3051\u306a\u3044\u300d\u306b\u3064\u3044\u3066\u3001\u6982\u8981\u306e\u30dd\u30a4\u30f3\u30c8\u3092\u7c21\u5358\u306b\u307e\u3068\u3081\u3066\u304a\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059<\/p>\n<p>\u7d50\u8ad6\u3068\u3057\u3066\u306f\u3001\u300c\u8981\u6c42\u3055\u308c\u308b\u6a5f\u80fd\u8981\u4ef6\u3001\u975e\u6a5f\u80fd\u8981\u4ef6\u3092\u6e80\u305f\u3059\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u66f8\u304d\u65b9\u3092\u76ee\u6307\u305d\u3046\u300d<\/p>\n<ul>\n<li>\u30b3\u30fc\u30c9\u306e\u5358\u7d14\u3055\u30fb\u8907\u96d1\u3055\u306b\u306f\u4ee5\u4e0b\u306e\u8981\u7d20\u304c\u5f71\u97ff\u3059\u308b\n<ul>\n<li>\u66f8\u304b\u308c\u3066\u3044\u308b\u30b3\u30fc\u30c9\u306e\u91cf<\/li>\n<li>\u6301\u3061\u8fbc\u3093\u3067\u3044\u308b\u6982\u5ff5\u306e\u6570<\/li>\n<li>\u8aac\u660e\u3059\u308b\u306e\u306b\u304b\u304b\u308b\u6642\u9593\u306e\u91cf\n<ul>\n<li>\u500b\u4eba\u7684\u306b\u306f\u30b5\u30a4\u30af\u30ed\u30de\u30c6\u30a3\u30c3\u30af\u306a\u8907\u96d1\u5ea6\u3060\u3051\u3067\u306f\u306a\u3044\u6c17\u304c\u3057\u3066\u3044\u308b<\/li>\n<li>\u7279\u306b\u975e\u5e38\u306b\u77ed\u3044\u30b3\u30fc\u30c9\u3067\u3042\u3063\u3066\u3082\u3001\u6301\u3061\u8fbc\u307e\u308c\u308b\u6982\u5ff5\u306e\u6570\u304c\u591a\u3044\u5834\u5408\u306f\u3001\u8a18\u8ff0\u91cf\u306f\u5c11\u306a\u304f\u3066\u3082\u3001\u8907\u96d1\u306a\u5834\u5408\u306f\u3042\u308b\u3068\u601d\u3046<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u5358\u7d14\u5316\u3057\u3066\u306f\u3044\u3051\u306a\u3044\n<ul>\n<li>\u30b3\u30fc\u30c9\u306f\u5358\u7d14\u3067\u3042\u308b\u65b9\u304c\u826f\u3044<\/li>\n<li>\u305f\u3060\u3042\u308b\u8ab2\u984c\u3092\u89e3\u304f\u3053\u3068\u3092\u610f\u56f3\u3057\u3066\u66f8\u304b\u308c\u305f\u30b3\u30fc\u30c9\u306f\u3001\u5e38\u306b\u305d\u306e\u8ab2\u984c\u3092\u30af\u30ea\u30a2\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b<\/li>\n<li>\u30b3\u30fc\u30c9\u3092\u5358\u7d14\u306b\u3059\u308b\u3053\u3068\u3092\u512a\u5148\u3057\u3066\u3001\u8ab2\u984c\u304c\u30af\u30ea\u30a2\u3055\u308c\u306a\u3044\u72b6\u6cc1\u304c\u8d77\u3053\u308b\u306e\u306fNG\n<ul>\n<li>\u4f8b\u3048\u3070rails\u306a\u3089n + 1\u3092\u653e\u7f6e\u3057\u305f\u307b\u3046\u304c\u3001\u72b6\u6cc1\u306b\u3088\u3063\u3066\u306f\u30b3\u30fc\u30c9\u304c\u5358\u7d14\u5316\u3059\u308b\u3053\u3068\u304c\u3042\u308b<\/li>\n<li>\u3060\u3051\u3069\u3082\u3057\u4eee\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u554f\u3044\u5408\u308f\u305b\u306e\u6570\u304c\u3001\u4eca\u5f8c\u5897\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3068\u304d\u306f\u3001\u5bfe\u5fdc\u3057\u3066\u304a\u3044\u305f\u65b9\u304c\u826f\u3044\u3060\u308d\u3046\u3068\u601d\u3063\u305f<\/li>\n<\/ul>\n<\/li>\n<li>\u30b3\u30fc\u30c9\u5185\u3092Dry\u306b\u4fdd\u3064\u3053\u3068\u306f\u3001\u5358\u7d14\u5316\u306b\u3082\u8907\u96d1\u5316\u306b\u3082\u3064\u306a\u304c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b<\/li>\n<li>\u7279\u306b\u5358\u7d14\u306a\u6982\u5ff5\u3067\u3001\u30b3\u30fc\u30c9\u91cf\u3082\u591a\u304f\u306a\u3044\u5834\u5408\u306f\u3001\u91cd\u8907\u7b87\u6240\u3092\u305d\u306e\u307e\u307e\u6b8b\u3059\u65b9\u304c\u3001\u30b3\u30fc\u30c9\u3068\u3057\u3066\u30b7\u30f3\u30d7\u30eb\u306b\u306a\u308b\u3053\u3068\u3082\u3042\u308b\n<ul>\n<li>\u500b\u4eba\u7684\u306b\u306f\u3042\u307e\u308a\u306b\u30e1\u30bd\u30c3\u30c9\u304c\u5206\u3051\u3089\u308c\u3066\u3044\u308b\u51e6\u7406\u306f\u8aad\u307f\u3065\u3089\u3044\u306e\u3067\u3001\u305d\u3046\u3044\u3063\u305f\u90e8\u5206\u306f\u30c9\u30e1\u30a4\u30f3\u3054\u3068\u306e\u307e\u3068\u307e\u308a\u306b\u3059\u308b\u306a\u3069\u3001\u30bb\u30f3\u30b9\u304c\u51fa\u308b\u3068\u3053\u308d\u3060\u306a\u3068\u601d\u3044\u307e\u3059<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u7d50\u5c40\u3001\u3053\u306e\u300c\u3067\u304d\u308b\u3060\u3051\u5358\u7d14\u3067\u3042\u308b\u3079\u304d\u3060\u304c\u3001\u5358\u7d14\u5316\u3057\u3066\u306f\u3044\u3051\u306a\u3044\u300d\u304c\u6700\u3082\u91cd\u8981\n<ul>\n<li>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u4e2d\u5fc3\u306b\u3042\u308b\u306e\u306f\u8907\u96d1\u6027\uff08\u6700\u7d42\u7684\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u3046\u307e\u304f\u3044\u304b\u306a\u304f\u306a\u308b\u306e\u306f\u8907\u96d1\u6027\u304c\u539f\u56e0\u3068\u306a\u308b\uff09<\/li>\n<li>\u826f\u3044\u30b3\u30fc\u30c9\u3068\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u5168\u4f53\u306e\u8907\u96d1\u6027\u3092\u5c11\u91cf\u306b\u6291\u3048\u3066\u3044\u308b\u30b3\u30fc\u30c9<\/li>\n<li>\u8907\u96d1\u6027\u3092\u53d6\u308a\u9664\u3044\u305f\u308a\u3001\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u8907\u96d1\u6027\u3092\u4e0a\u3052\u306a\u3044\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u3092\u76ee\u6307\u3059\u3053\u3068\n<ul>\n<li>\u307f\u305a\u307b\u9280\u884c\u306e\u30b7\u30b9\u30c6\u30e0\u3082\u305d\u3046\u3060\u304c\u3001\u8907\u96d1\u3067\u3042\u308c\u3070\u3042\u308b\u307b\u3069\u5de5\u6570\u306f\u304b\u304b\u308b\u3057\u3001\u8cbb\u7528\u3082\u304b\u304b\u308b<\/li>\n<li>\u8907\u96d1\u6027\u3092\u4e0b\u3052\u308b\u3053\u3068\u304c\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u4e0a\u3067\u91cd\u8981\u3068\u3044\u3046\u6982\u5ff5\u306f\u7406\u89e3\u3067\u304d\u308b<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u3044\u3063\u305f\u3093\u3001\u3053\u3093\u306a\u611f\u3058\u3067\u307e\u3068\u3081\u3066\u304a\u304d\u307e\u3059<\/p>\n<p>\u3067\u306f\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3082 \u4eca\u56de\u306fThe Rules of Programming\u306e\u30eb\u30fc\u30eb1\u300c\u3067\u304d\u308b\u3060\u3051\u5358\u7d14\u3067\u3042\u308b\u3079\u304d\u3060\u304c\u3001\u5358\u7d14\u5316\u3057\u3066\u306f\u3044\u3051\u306a\u3044\u300d\u306b\u3064\u3044\u3066\u3001\u6982\u8981\u306e\u30dd\u30a4\u30f3\u30c8\u3092\u7c21\u5358\u306b\u307e\u3068\u3081\u3066\u304a\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059 \u7d50\u8ad6\u3068\u3057\u3066\u306f\u3001\u300c\u8981\u6c42\u3055\u308c\u308b\u6a5f\u80fd\u8981\u4ef6 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":9982,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[256],"tags":[],"class_list":{"0":"post-9981","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-it","8":"entry"},"_links":{"self":[{"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/posts\/9981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9981"}],"version-history":[{"count":1,"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/posts\/9981\/revisions"}],"predecessor-version":[{"id":9983,"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/posts\/9981\/revisions\/9983"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/media\/9982"}],"wp:attachment":[{"href":"https:\/\/yumishin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}