GildedRose-Refactoring-Kata/nim
Kieran 908055ba3e
Gilded rose in Nim
- I've started with a small refactor, Command to function. This was done as
   the most obvious way to do it (to me) as in the original, would not compile
   in Nim due to violating memory lifetimes. I could have made it take a
   ref seq[Item], but then I would need to instatiate a ref seq and I didn't
   want to make a change that drastic. Also due to Nim's UFCS, the ultimate
   implementation would be basically the same anyway.
2020-10-16 18:59:43 +08:00
..
src Gilded rose in Nim 2020-10-16 18:59:43 +08:00
test Gilded rose in Nim 2020-10-16 18:59:43 +08:00