3 ms·
You end up with a big if-then block. Essentially spaghetti but localized. A joke I sometimes make is that spaghetti is best of a plate or in a box from which i
by AstralStorm 7y ago
You end up with a big if-then block. Essentially spaghetti but localized.
A joke I sometimes make is that spaghetti is best of a plate or in a box from which it cannot escape. Otherwise it would spill.
Ravioli does not spill but the relationships become implicit.
- kd5bjo 7y agoLocalized is good. It means that the next time there’s a new thing, there’s only one place you need to change to specify its unique set of properties. Often, this can even be removed from the code entirely into a configuration file, so that a recompilation isn’t necessary for every new situation.