4 ms·
Most languages don’t have macros powerful enough to do this.
by pharmakom 4y ago
Most languages don’t have macros powerful enough to do this.
- capableweb 4y agoWhat? Outputting HTML is basic enough that most languages don't need to use macros for this. I don't understand why'd you want to use macros with all its problems to generate HTML, when even a simple data structure like "vectors in vectors" would do just fine to generate HTML (ala Reagent in Clojure-land).
- mateuszf 4y agoThat's a bit not fair to languages different than lisp because of their more complicated syntax. Clojure simplicity is just superb in this case.
- capableweb 4y agoArrays/sequences/vectors or a similar implementation of those exists in most languages, lisps are not unique in that way :)