Let's Create A Toy HTML Builder in Rust

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024
  • In this session we take a look at creating a toy "HTML" builder in Rust,
    So why would you want to create a nestable builder like this?
    Well, an infinitely nestable builder allows one to programmatically generate some output in a typesafe and precise way.
    It’s also the “base level” building block for layering higher levels of abstractions on top of the builder, for example one could create functions that emit a particular component, and those components could of course be nested and composable.
    Or another example could be creating data adaptors that take data in one particular format and use the nestable builder to transform it to the final target format.

Комментарии • 4