| I was in the process of creating my own language in racket. It was going to codify everything I had learned over the years into powerful abstractions and target JavaScript. Halfway though I realized I was inventing a shittier Purescript. Dsls are mostly masturbation. Custom syntax? Custom evaluation semantics? I always regret it after like cocaine. The only thing macros are reasonable for is custom bindings. Most people are not qualified to invent dsls. Myself included. And the people who are qualified don't need "language oriented programming" ala racket. They can spin up a lexer which is the least complicated part of the task anyway. As for types, they have a HUGE power to weight ratio. All of my efficiency gains in Clojure due to macros were forfeited 10x over hunting down null pointer exceptions at runtime. I still love Racket. And I still prototype in Clojure. But Haskell brings you closer to math. Closer to category theory. Most programmers don't need new symbols and semantics. They need a deeper understanding of combinatorial logic. |
Racket allows people with new ideas to prototype them efficiently by easily implementing a compiler that would've been an interpreter otherwise.