logoalt Hacker News

lijok12/10/20252 repliesview on HN

The lack of expressiveness of HCL is the point and what makes it so good


Replies

crimsonnoodle5812/10/2025

Being able to inherit from Ingress and add a parameter of say public=True/False and then it change annotations, middleware, etc and then being able to re-use that across 100s of stacks is very powerful. DRY is not something HCL is good at.

show 3 replies
pizza23412/10/2025

That's very subjective. Concepts like iterations are inevitable, and they don't look great in a declarative language like HCL.

I also find refactorings considerably harder in a declarative language, since configurations have a rigid structure.