Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.9 KB

INSTRUCTIONS.md

File metadata and controls

49 lines (35 loc) · 1.9 KB

The assignment

Here in Polidea we love coffee and we drink it in gallons. We like it in any form - we drip it, press it… Well, ok - not all of us. Some are just lazy and prefer the easy way. :)

The assignment is to design a model of an automatic coffee machine simulator. Exactly the same as you’ve probably seen in lots of other offices or maybe even have one at home.

The idea is dead simple:

  1. Choose your favourite drink
  2. Press the button
  3. Get the coffee
  4. Enjoy your beverage!

Simple as that! Make the following assumptions:

  • This is just a simulation. You don’t have to model e.g. a PowerSupply class and it’s all parameters (electricity doesn’t matter here). You should focus on the essential components of the machine (eg. WaterTank).
  • Machine is fully functional and reliable - it won’t break while used
  • Machine doesn’t accept any money (we believe coffee should be free for devs)
  • The task shouldn’t take you more than 8 hours.

What is evaluated?

  1. Simplicity of the solution
  2. Clean coding
  3. Well organized and clear git commit history
  4. Algorithm correctness
  5. Well-crafted domain model
  6. Automated tests
  7. How you justify your decisions (hint: A INFO.md file in the repo is a good place to describe your way of thinking).

What is not evaluated?

  1. GUI

Why should I do it?

This task gives us rough idea about how you code and what is your approach to work you’ve been given.

OK, how should I proceed?

  1. you work on this repo, on your branch
  2. once you're done, you submit Merge Request to master branch
  3. we will do a code-review and may ask for changes. If you don't know what code-review is, please read this article so you know what it's all about.
  4. you submit changed code
  5. we do final review.

Have fun!

Feel free to ask questions via email if something is not clear enough.