Re:Wing: A cloud-oriented programming language
by substation13 on Monday December 19, 2022 @09:48AM
(#34052644)
What about the non-determinism, lack of sand-boxing and Turing-completeness of a real programming language?
Re:Wing: A cloud-oriented programming language
by jchook on Monday December 19, 2022 @10:29AM
(#34053189)
What about the lack of a mature language server for code completion and at-your-fingertips documentation? What about the lack of mature tooling for static analysis, linting, code formatting, etc?
What about the poor support for defaults and partial overrides on object-type (read: namespaced without redundant_underscore_thing_*) configuration directives?
What about the very limited module capabilities?
What about the limited set of deterministic functions available (e.g. you get base64, yaml, csv, and otherwise GLHF)?
Re:Wing: A cloud-oriented programming language
by duped on Monday December 19, 2022 @11:30AM
(#34053995)
There's no reason the code can't be sandboxed, Turing-completeness is a feature not a bug (nor is undecidability a real problem), and non-deterministic behavior where it's undesirable is just a potential hazard in the real world. No system can avoid it unless that system never interacts with the outside world.
Re:Wing: A cloud-oriented programming language
by newaccount2021 on Monday December 19, 2022 @11:54AM
(#34054364)
Because those aren't real-world concerns???
HCL is its own language so Hashicorp can "own" the experience, tie you into an Enterprise toolchain, and scratch their "I've always wanted to build a language!" itch
But it works and ops people love it because most ops people in industry today cannot even write a simple Python script. So...tools like Pulumi are actually out of their reach.
Thankfully Pulumi[0] allows me to write Terraform configuration in a language I know without reinventing the wheel. It feels like Pulumi's approach is better in every single way I can imagine. I simply do not see the reason for HCL whatsoever.
[0] https://github.com/pulumi/pulumi