Make Money with TDD - 07

I'm Not Adding As mentioned, What about converting between currencies without adding currencies together? That seems like it'll be a useful thing for our system. Let's mark that as our current work in progress! > 5 USD * 2 = 10 USD 10 EUR * 2 = 20…

Make Money with TDD - 06

Cross Equality The requirement we want to get to now is to allow our equality to work across currencies > 5 USD * 2 = 10 USD 10 EUR * 2 = 20 EUR 4002 KRW / 4 = 1000.5 KRW 5 USD + 10 USD = 15 USD 5 USD + 10 EUR = 17 USD 12 USD…

Make Money with TDD - 05

Cross Currency Our next requirement is to add different currencies together. > 5 USD * 2 = 10 USD 10 EUR * 2 = 20 EUR 4002 KRW / 4 = 1000.5 KRW 5 USD + 10 USD = 15 USD 5 USD + 10 EUR = 17 USD 1 USD + 1100 KRW = 2200 KRW 2.50 USD * 6…

Make Money with TDD - 04

The Fixing I don't know what it's gonna take to work through fixing this. It's a pretty big goof to have missed that I need to have a Money object back... Oh well. Let's get to it. A nice thing is that…

Make Money with TDD - 03

Money Splits And we're back! Let's remind ourselves (yeah yeah... me) of our requirements > 5 USD * 2 = 10 USD 10 EUR * 2 = 20 EUR 4002 KRW / 4 = 1000.5 KRW 5 USD + 10 EUR = 17 USD 1 USD + 1100 KRW = 2200 KRW 2.50 USD…

Make Money with TDD - 02

It's Euro Time! And onto the next requirement, and the reason I goofed and created a Money object initially... > 5 USD * 2 = 10 USD 10 EUR * 2 = 20 EUR 4002 KRW / 4 = 1000.5 KRW 5 USD + 10 EUR = 17 USD 1 USD + 1100 KRW = 2200 KRW…

Make Money with TDD - 01

It's Money Time! Out of our requirements, let's start with the simple one > 5 USD * 2 = 10 USD 10 EUR * 2 = 20 EUR 4002 KRW / 4 = 1000.5 KRW 5 USD + 10 EUR = 17 USD 1 USD + 1100 KRW = 2200 KRW Multiple the money! This…

Make Money with TDD - 00

Welcome to ... whatever the fuck this'll turn into. Preamble (post writing) This turned into ... a lot. Both in the content for this series of doing MONEY! What I found while working through this is that I had a lot of tangents about a lot of things. One of…