News for hackers. Stuff that matters.
Re:Fangle: create interactive documents from plain text by gambler on Saturday August 05, 2017 @03:23PM (#14937407)
The core idea is nice (using simple markup instead of code), but it seems developers these days are completely oblivious to the fact that HTML is extensible and was literally designed to do this kind of stuff. Markdown is better for simple text editing, JSON is better for simple data structures, but HTML is far superior for complex documents where you need to attach structure and behaviors to text.

Things it buys you out of the box:

  - No need to write a parser
  - You can make complex references via CSS selectors
  - Your structure (tags) has structure (attributes)
  - All the existing tooling will help you to debug if something goes wrong.
On this note, I regret that HTML5 had thrown away the good ideas from XML (syntax consistency and namespaces) along with the bad (weird sub-formats, entity definitions, directives and other complex crap no one used well anyway).

There are no comments on this comment yet.