Comment

Comment by pseudohadamard

The difference is that in YAML it's kind of expected (the second pseudocode example is from Home Assistant where almost everything nontrivial requires embedding scripting inside your YAML) while I've never seen it done in JSON.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton