Hacker News new | ask | show | jobs
by ithkuil 2695 days ago
FWIW jsonnet is a "real" language. It's a dynamically typed, lazily evaluated purely functional programming language).
1 comments

Fair enough. I should have said "general purpose language" rather than "real", which makes for flame-bait.
I once built a mandelbrot fractal renderer which emitted a data-URL encoded PNG string to stdout in BCL (a spiritual predecessor of Jsonnet @ Google).

Yeah, I know what you mean. It lacks generic input/output, you cannot read write arbitrary files and perform arbitrary network requests etc.

I do like that restriction in the context of managing configuration systems, because it allows you to build hermetic evaluations.

With kubecfg we added the ability to import from URLs, which I wish was available out of the box in jsonnet.