|
|
|
|
|
by incepted
3679 days ago
|
|
These are functions, it doesn't get any simpler than that and it doesn't require learning anything new once you know the language. Macros are over engineered in comparison since they force the developer to learn a whole new section of the language with its own rules and own compilation lifecycle. This is why hardly anyone uses macros these days and why most language are embracing the Groovy/Kotlin approach to writing DSL's. |
|
The small amount of time it takes to learn Clojure and get used to its syntax is well worth it. Too bad not many workplaces are willing to similarly switch from Groovy to Clojure for writing tests. They even stick with the older Groovy version 1.8. Once something works, they won't upgrade.