Process to pass from problem to code. How did you learn?
I go via the test-driven approach. 1. I write down (on paper or plain text editor) a list of tests or specification that would satisfy the needs of the problem. – simple calculations (no discounts and concessions) with: – single item – two items – maximum number of items that doesn’t have a discount – … Read more