{"type":"rich","version":"1.0","provider_name":"Transistor","provider_url":"https://transistor.fm","author_name":"The Eric Normand Podcast","title":"The magical leverage of languages","html":"<iframe width=\"100%\" height=\"180\" frameborder=\"no\" scrolling=\"no\" seamless src=\"https://share.transistor.fm/e/908b5b6c\"></iframe>","width":"100%","height":180,"duration":803,"description":"If I write a straightforward solution to a problem in Clojure, it might take me a thousand lines of code to solve it. To handle all the corner cases and everything, I got a thousand lines of code. However, if I take this other approach where it’s much more indirect, or instead of solving the problem that I have in front of me, I write a language–a DSL. The DSL could take me 500 lines of code to write. That’s a fairly large DSL. Usually they’re much smaller, but it takes me 500 lines of code. Actually, writing the solution in it only takes 10 lines of code.","thumbnail_url":"https://img.transistorcdn.com/WbyB3L00271RX0nwX_O6wfvG-9-GVuhuQNa4JxI1IvI/rs:fill:0:0:1/w:400/h:400/q:60/mb:500000/aHR0cHM6Ly9pbWct/dXBsb2FkLXByb2R1/Y3Rpb24udHJhbnNp/c3Rvci5mbS9zaG93/LzQzMzgvMTU2ODQ4/NjQ0MC1hcnR3b3Jr/LmpwZw.webp","thumbnail_width":300,"thumbnail_height":300}