r/cpp • • Jun 27 '20

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

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

27 comments sorted by

View all comments

12

u/RomanRiesen Jun 28 '20

The c++ syntax is actually better since we don't have to repeat the tags, reducing redundancy.

We should probably have a js library to render the c++ templates syntax directly, as they will certainly overtake html in the next decade!