News for hackers. Stuff that matters.
Re:Why the fuck are we templating YAML? (2019) by sixdimensional on Tuesday January 23, 2024 @12:00PM (#39106053)
"Implerative" - thank you for this, this is the term I've been searching for to describe the weird blending of the two things.. I immediately Googled it and saw that it has previous uses as well, I would love to know who originated the concept. I see so many times, confusion and arguing about what is imperative and declarative, to the point where I question the value of the terms any longer.

FWIW, I have flirted with my own DSL implementations in a few cases. Certainly, language design is much more complex, but I also felt that once you understand enough of EBNF/parser generators (and some of the simpler alternatives), this is a very powerful option as well.

Re:Why the fuck are we templating YAML? (2019) by zamalek on Tuesday January 23, 2024 @12:23PM (#39106409)
I'm also pretty against DSLs, although they do rarely have uses cases. For an example of why DSLs can be bad, look at Dockerfiles contrasted with Buildah. The former makes tons of assumptions, especially when to perform layer checkpoints. The latter is just a script in Bash or whatever your language of choice.
Re:Why the fuck are we templating YAML? (2019) by sixdimensional on Tuesday January 23, 2024 @12:05PM (#39106133)
For the curious, this might be it: "I've cracked our marketing code, y'all! Pulumi: Implerative Appfrastructure" [1] @funcOfJoe, Joe Duffy: CEO of Pulumi

[1] https://twitter.com/funcOfJoe/status/1319667607214067712

Re:Why the fuck are we templating YAML? (2019) by sixdimensional on Tuesday January 23, 2024 @12:10PM (#39106187)
Also an interesting post referencing the term in a previous comment on HN: https://news.ycombinator.com/item?id=31182790