It's trying to express the idea of defining the bread type in one place only (starts bread.c line 74) after which all other bread related functions (create a slice of that bread, get a random bread type etc) look identical for all bread types so you don't need different functions or so many case statements etc
Note my BreadBin holds different types of bread that can be created, not actual slices (although you get a slice of a particular type by asking the bin for it)
This code now does work.
It's trying to express the idea of defining the bread type in one place only (starts bread.c line 74) after which all other bread related functions (create a slice of that bread, get a random bread type etc) look identical for all bread types so you don't need different functions or so many case statements etc
Note my BreadBin holds different types of bread that can be created, not actual slices (although you get a slice of a particular type by asking the bin for it)