This is the last part of my learnings during writing a sudoku solver. It's about several iterations of a property-based test refactoring in an attempt to find the best way to generate input data.
Sudoku
3 postsSudoku Solver in Scala Part 2: Functions Compose, Methods Don’t
I keep writing about my learnings during writing a sudoku solver. This time we touch solver's logic and I have something to share about making the big functions out of the small ones.
Sudoku Solver in Scala Part 1: Validated Types
Sometimes you're trying to solve a puzzle so hard so you have to write a program to solve it. That happened to me with one specific sudoku so I wrote a sudoku solver.
I did some learning during this and I want to share them here. This part is about injecting validation into the type system.