Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well, judging from the release notes, with for-loops you are now one step closer to a real programming language. Looks like the beginning of the end of the "declarative" paradigma which keeps people running their heads against the wall like this https://blog.gruntwork.io/terraform-tips-tricks-loops-if-sta...


Those are list / map comprehensions. So it's still declarative—you can't iterate and do anything while iterating. Only transform items in a list.

https://www.hashicorp.com/blog/hashicorp-terraform-0-12-prev...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: