Hacker News new | ask | show | jobs
by chubot 1752 days ago
Yeah very good example -- a map is a program and is usefully embedded in documents.

Also this series of pages was extremely popular on HN, and can't be done without programs embedded in documents:

https://ciechanow.ski/gears/

In this case it's done quite "literally" !

https://ciechanow.ski/js/gears.js

Although on closer reading the OP does make a distinction between documents embedding programs, and programs that build up documents (like medium.com), which I agree is an anti-pattern.