2 ms·
Rolling your own templating library would certainly work, but then you're stuck maintaining your own templating library. I like the concept of Enlive, but I ha
by icey 17y ago
Rolling your own templating library would certainly work, but then you're stuck maintaining your own templating library.
I like the concept of Enlive, but I have concerns about troubleshooting it. I feel like you're asking for trouble any time you have to look at multiple files just to figure out what's going on in one page. Troubleshooting a page that's been modified with Enlive would require you to have the HTML open, and then mentally translate all the operations so that you can see what changes what. I'm just not smart enough to be able to hold entire documents in my head when things approach even moderate complexity, and I want to be able to scan a document to see what's going on; not read the HTML document and then go through the list of operations to see how that document is being modified.