3 ms·
I use this extensively in a production codebase to help facilitate keeping things DRY across multiple languages/filetypes (java, xml, less, html) while not lock
by Bjartr 8y ago
I use this extensively in a production codebase to help facilitate keeping things DRY across multiple languages/filetypes (java, xml, less, html) while not locking me into a framework since, at the end of the day, if I want to stop using cog, I'm still left with completely normal code.
I've layered a kind of DSL (more Python in comments with a different marker) on top of cog so multiple files can reference the same metadata (domain model fields in my case) when doing the codegen.