Really loved the session last night, be good to do something similar again (or even a longer coding session on a weekend?) Thanks to Rob for running it!
This is where me and Ste got up to:
All the tests were passing, but we weren't happy with so much logic being in the scan method. Our next move was to move most of that logic out of the scan method, use the total method more and probably create some more methods.
We also weren't completely happy with how the pricing rules were presented and would probably think a bit more about that. The seemed to be described in a deliberately vague way in the kata, so getting the description right for those would help, especially to cover different types of offers.
The next consideration was whether or not to cache more info in the cart. Currently it just keeps track of which items have been added and in what order, but we considered keeping a running total and sub-totals for each item as well.
Be interesting to see what everyone else came up with!
DAZ
ps - Ste recommended this talk by Sandi Metz about refactoring the Gilded Rose Kata