Hacker News new | ask | show | jobs
by erikpukinskis 3868 days ago
It's interesting, declarative APIs are amazing for a demo... A single function call can make literally anything possible. But when you eventually want to do something interactive, a declarative API can't work, and you need to learn a separate imperative API anyway... At which point what was the point of the declarative one in the first place?
1 comments

Hm? Can you give an example where you would need to use an imperative API? Plus, .run() is imperative.
Adding additional elements on tap?