3 ms·
I think that M4 can be fine in production. Many years ago, I had used it to re-write a massive Squid Proxy configuration file which was mostly a collection of r
by usgroup 4y ago
I think that M4 can be fine in production. Many years ago, I had used it to re-write a massive Squid Proxy configuration file which was mostly a collection of repeating blocks. The file was so big that no-one really understood how it worked, and it evolved by constant monkey patching. Post M4 and distilled to just its non-repeating elements, it was an order of magnitude smaller but also clearer because the macros designated the patterns and what wasn't in a macro was actually unique.
- cbsmith 4y agom4 is fine in production if what you're doing really is just string manipulation. It just tends to be used in cases like the one in this article, where you are manipulating structured text. In that context, you run the risk of errors/complexity/fragility because you are manipulating strings rather the structures.
- cbsmith 4y ago"rather than structures"