|
|
|
|
|
by jhall1468
3939 days ago
|
|
It's only easier to read because it meets your expectations since it looks "javascripty", but absolutely not as easy to reason about. Both of those snippets are intended to generate HTML. In that sense there's no question which one is easier to reason about/read. |
|
I would argue the opposite — it is immediately easier to reason about, since I see what functions are called, and I can go look up the documentations for those functions without having to go through a precompile-step.