r/programming • • Jun 27 '20

HTML++: Write HTML documents using C++ templates

https://github.com/csb6/html-plus-plus
62 Upvotes

15 comments sorted by

View all comments

4

u/marco89nish Jun 28 '20

Kotlin wore it better

1

u/D_0b Jun 28 '20

far from it. with all the + and { }

1

u/marco89nish Jun 28 '20

I think the pluses are not necessary with newer versions of Kotlin and {} is lot more common way to make a scope than <>. Not sure about latest C++ compiler but you used to get 10 page error for smallest error in templates, so I'd take Kotlin's type-safe DSLs over it any day od the week.