Skip to content

Commit

Permalink
refs/tags/v2.5 misc 8558c2e
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleinen committed Oct 18, 2024
1 parent 722aabc commit 26b570c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion classes/ws2024/m1/labs/kata/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
the tests in an extra shell window outside the ide most useful for that - see the <code>testloop.sh</code>
script in my python-kata scaffold:
<a href=https://github.com/htw-imi-media-programming/kata-scaffold>https://github.com/htw-imi-media-programming/kata-scaffold</a></p><p>The Kata is described here: <a href=https://codingdojo.org/kata/FizzBuzz/>https://codingdojo.org/kata/FizzBuzz/</a></p><p>If you are new to automated testing, just do TDD. If you feel slightly bored,
add the Baby Steps constraint: <a href=https://kata-log.rocks/baby-steps>https://kata-log.rocks/baby-steps</a>.</p><h3 id=start-with-the-requirement-for-stage-1>Start with the Requirement for Stage 1:</h3><p><em>Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz “.</em></p><p>Work Test Driven: Write a failing test, implement it in the most simple way, then refactor if necessary. Avoid unnecessary abstractions and generalizations, though.</p><h3 id=add-stage-2-functionality>Add Stage 2 Functionality:</h3><ul><li>A number is fizz if it is divisible by 3 or if it has a 3 in it</li><li>A number is buzz if it is divisible by 5 or if it has a 5 in it</li></ul><p>Refactor.</p><h3 id=add-new-requirements>Add new Requirements</h3><p>We will define a new Requirement in Class. Write a Test. Implement it. Refactor.</p><script src=https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js></script><script>mermaid.initialize({startOnLoad:!0,securityLevel:"loose"})</script></div></div></div></main><footer class="row p-0"><div class="col-md-2 c2">&nbsp;</div><div class="col-md-10 c4"><small><hr><div class=container-fluid><div class=row><div class=col-9><a href=https://bkleinen.github.io//contact>Prof. Dr. Barne Kleinen</a>,
add the Baby Steps constraint: <a href=https://kata-log.rocks/baby-steps>https://kata-log.rocks/baby-steps</a>.</p><h3 id=start-with-the-requirement-for-stage-1>Start with the Requirement for Stage 1:</h3><p><em>Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz “.</em></p><p>Work Test Driven: Write a failing test, implement it in the most simple way, then refactor if necessary. Avoid unnecessary abstractions and generalizations, though.</p><h3 id=add-stage-2-functionality>Add Stage 2 Functionality:</h3><ul><li>A number is fizz if it is divisible by 3 or if it has a 3 in it</li><li>A number is buzz if it is divisible by 5 or if it has a 5 in it</li></ul><p>Refactor.</p><h3 id=add-new-requirements>Add new Requirements</h3><p>We will define a new Requirement in Class. Write a Test. Implement it. Refactor.</p><h1 id=resources>Resources</h1><p>Fowler, M. (no date) Catalog of Refactorings. Available at: <a href=https://refactoring.com/catalog/>https://refactoring.com/catalog/</a> (Accessed: 14 October 2024).</p><p>As the list of code smells is no longer available on Martin Fowler&rsquo;s page,
here&rsquo;s a link to a page that plagiarizes his content (even without a single
mention of the source!):
Code Smells (no date). Available at: <a href=https://refactoring.guru/refactoring/smells>https://refactoring.guru/refactoring/smells</a> (Accessed: 14 October 2024).</p><p>RailsConf 2016 - Get a Whiff of This by Sandi Metz (no date). Available at: <a href="https://www.youtube.com/watch?v=PJjHfa5yxlU">https://www.youtube.com/watch?v=PJjHfa5yxlU</a>.</p><script src=https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js></script><script>mermaid.initialize({startOnLoad:!0,securityLevel:"loose"})</script></div></div></div></main><footer class="row p-0"><div class="col-md-2 c2">&nbsp;</div><div class="col-md-10 c4"><small><hr><div class=container-fluid><div class=row><div class=col-9><a href=https://bkleinen.github.io//contact>Prof. Dr. Barne Kleinen</a>,
<a href=https://www.htw-berlin.de>HTW Berlin</a>,
<a href=https://www.f4.htw-berlin.de/>FB4</a>, <a href=https://imi-bachelor.htw-berlin.de/>International Media and Computing</a>.
&nbsp;&nbsp;&dash;&nbsp;&nbsp;</div><div class=col-3><a href=https://bkleinen.github.io//contact/impressum>Impressum</a>,
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
<a href=https://www.f4.htw-berlin.de/>FB4</a>, <a href=https://imi-bachelor.htw-berlin.de/>International Media and Computing</a>.
&nbsp;&nbsp;&dash;&nbsp;&nbsp;</div><div class=col-3><a href=https://bkleinen.github.io//contact/impressum>Impressum</a>,
<a href=https://bkleinen.github.io//contact/datenschutzerklaerung>Datenschutzerklärung</a></div></div><div class=row><div class=col-9>This work is licensed under a <a rel=license href=http://creativecommons.org/licenses/by-nc/4.0/>Creative Commons Attribution-NonCommercial 4.0 International License</a>.<br><small>This page was authored by: kleinen
Version: 8558c2eb (v2.4)
Version: 8558c2eb (v2.5)
deployed by workflow: Deploy Production / Github</small></div><div class=col-3><a rel=license href=http://creativecommons.org/licenses/by-nc/4.0/><img alt="Creative Commons Licence" style=border-width:0 src=https://i.creativecommons.org/l/by-nc/4.0/88x31.png></a></div></div><div class=row><div class=col-sm-12></div></div></div></small></div></footer><script>let sortTables=!1,stripedTables=!0</script><script src=https://bkleinen.github.io/js/bundle.min.e133eae943f4d1cb473481e473689ee73e9f6880b33894730d0b3c8f682d034e.js defer></script></body></html>

0 comments on commit 26b570c

Please sign in to comment.