Skip to content

HoucemNaffati/A-Software-Craftsmanship-KATA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TimedMessageGenerator:
A software craftsmanship KATA

I. Why do I need to train myself on this ?

Phil Crosby said :

It is always cheaper to do the job right the first time. If we deliver on time, but the product has defects, we have not delivered on time.

A software means an easy-to-change product. It needs to be easy to change and to adapt at any moment. If you find that after each requirement's change, your team are redoing the same application over and over again, :trollface: then you definitely need TDD and design skills. 💊 💎

II. Is this suitable for my coding level ?

Well, you will need to have a strong OOP background and a good understanding of hexagonal architecture principles. ⚠️

You can find my guidelines here. 📖

III. Let's rock'n'roll!

This is an advanced exercise to introduce TDD, SOLID design principles and Hexagonal Architecture. 💻

  1. Implement example-mapped specifications using TDD. (~45min is a reasonable estimation) 🔨
  2. Try to apply craftsmanship's rules and principles. 🔧
  3. Experience the impact of the following changes on your code "in the given order" to measure your level of success. 👻

IV. How to measure success ? 🎯

  • Clean code should be easy to read by a non-programmer person.:surfer:

  • Clean design should be able to quickly adapt without impacting your tests.:ok_hand:

  • Your solution is tested easily.:dash:

  • The cost of changing UI library or framework is significantly cheap.:relaxed:

  • You felt happy that you had received a change or a new requirement.:sparkles:

  • You are confident that your solution is out of bugs at any time.:sunny:

  • Your application is always ready to be shipped.:rocket:

Happy coding FOLKS !

Check out my React.js|Typescript implementation here.

Please feel free to submit issues for improvements or create branches with examples of your solutions.:+1: Sharing is caring!