Skip to content

pawelpluta/tell-dont-ask-kata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tell, Don't Ask Code Kata

Code Kata is an exercise, that allows you to train your skills by practice. In this kata you are going to train your skills regarding giving the class more resposibility than just keeping the data. Read more about Tell, Don't Ask in this article.

This project

You are starting a miniature, automated farm, that will grow and sell some plants. Starting with baby steps, at the beginning you want your farm to fulfil three main tasks:

  • water the crops that are organised into Raised Beds
  • gather the crops when they are grown enough
  • sell your products and send them to customers

Solving Kata

Start with an examination of tests that are provided. Basic scenarios are covered there, but you might want to add some tests while refactoring the code. Feel free to reorganize the project as you are working with it. There is no single valid solution for this.