{"id":218,"date":"2021-05-10T19:19:48","date_gmt":"2021-05-10T19:19:48","guid":{"rendered":"https:\/\/kenpugh.com\/blog\/?p=218"},"modified":"2021-08-26T16:47:01","modified_gmt":"2021-08-26T16:47:01","slug":"a-dollar-kata","status":"publish","type":"post","link":"https:\/\/kenpugh.com\/blog\/a-dollar-kata\/","title":{"rendered":"A Dollar Kata"},"content":{"rendered":"<p>This kata revolves around a common domain term \u2013 money. Money appears in many applications, so the code from this kata might be adapted to those applications. Although it uses a dollar, it\u2019s easily changeable to the currency of your choice by just replacing the currency symbol. Since requirements \/tests written in Gherkin are implementation independent, you can implement this in any language. Some languages may be easier than other since they have more extensive libraries. Programmers can try multiple implementations and then have discussions as to the relative merits of each one.<\/p>\n<p>The full kata\u00a0in a <a href=\"https:\/\/kenpugh.com\/Articles\/A%20Dollar%20Kata.pdf\" target=\"_blank\" rel=\"noopener\">PDF.<\/a>\u00a0 \u00a0The kata in <a href=\"https:\/\/kenpugh.com\/Articles\/A%20Dollar%20Kata.pdf\" target=\"_blank\" rel=\"noopener\">html<\/a>.<\/p>\n<p>The kata is released under the Creative Commons copyright.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"88\" height=\"31\" class=\"wp-image-219\" src=\"https:\/\/kenpugh.com\/blog\/wp-content\/uploads\/2021\/05\/cc-by-sa-icon.png\" alt=\"CC-BY-SA icon\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This kata revolves around a common domain term \u2013 money. Money appears in many applications, so the code from this kata might be adapted to those applications. Although it uses a dollar, it\u2019s easily changeable to the currency of your choice by just replacing the currency symbol. Since requirements \/tests written in Gherkin are implementation &hellip; <a href=\"https:\/\/kenpugh.com\/blog\/a-dollar-kata\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">A Dollar Kata<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4,19,5,1],"tags":[20,22,21],"class_list":["post-218","post","type-post","status-publish","format-standard","hentry","category-atdd","category-bdd","category-design","category-gherkin","category-uncategorized","tag-tdd","tag-atdd-2","tag-bdd-2"],"_links":{"self":[{"href":"https:\/\/kenpugh.com\/blog\/wp-json\/wp\/v2\/posts\/218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenpugh.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenpugh.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenpugh.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kenpugh.com\/blog\/wp-json\/wp\/v2\/comments?post=218"}],"version-history":[{"count":8,"href":"https:\/\/kenpugh.com\/blog\/wp-json\/wp\/v2\/posts\/218\/revisions"}],"predecessor-version":[{"id":283,"href":"https:\/\/kenpugh.com\/blog\/wp-json\/wp\/v2\/posts\/218\/revisions\/283"}],"wp:attachment":[{"href":"https:\/\/kenpugh.com\/blog\/wp-json\/wp\/v2\/media?parent=218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenpugh.com\/blog\/wp-json\/wp\/v2\/categories?post=218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenpugh.com\/blog\/wp-json\/wp\/v2\/tags?post=218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}