Stream: platform development

Topic: config language and infrastructure as code


view this post on Zulip Albert (Jun 27 2024 at 17:35):

Setting up a github action again, then I realized that Roc can be a perfect language for this kind of things.

Using YML or JSON for complex configuration is a nightmare because we are basically reinventing logics in a pure data format.

With Roc, we can have precise logic and data dependency. Platform action can be implemented as Tasks/Effects. It will be amazing.

view this post on Zulip Albert (Jun 27 2024 at 17:36):

In the JS world, people also try to use JS as configuration language which is also bad because it can do 10 million things in an unsafe way

view this post on Zulip Albert (Jun 27 2024 at 17:36):

calling an API in a vite config? no problem. But why?

view this post on Zulip Albert (Jun 27 2024 at 17:38):

Using Roc as the configuration language, even for non-Roc projects/frameworks, can give users the right amount of computation/logic flexbility without exposing unnecessary IOs as security issues.


Last updated: Jul 05 2025 at 12:14 UTC