My Declarative Breakthrough: Wherein I Stop Thinking in Terms of Object Collaboration
I just grokked how value transformations can not be a pain in tests. I’m writing a simple export module which takes a table from TableFlip and renders it as LaTeX. So the input is a
Table and the output a
String. But the module is not just a single function, mind you. That’d be a huge function, and not very open for configuration changes later. I factored it into a few sub-components, of course.
Continue reading …