I dont understand what's going on but it looks like a hack to avoid code duplication. We should be OK with duplication sometimes because it's more explicit and straightforward to mingle and debug.
So 9 * 47 - 47 = 376 lines the author got rid of ? Which would imply that if he adds a tenth datatype, he doesn't have to update 47 match blocks sprinkled over the whole code base ?
So 9 * 47 - 47 = 376 lines the author got rid of ? Which would imply that if he adds a tenth datatype, he doesn't have to update 47 match blocks sprinkled over the whole code base ?