Comment by forrestthewoods
5 days ago
> But if your configuration files devolve into DSL, just use a real programming language already.
This times a million.
Use a real programming language with a debugger. YAML is awful and Starlark isn’t much better.
> Use a real programming language with a debugger. YAML is awful and Starlark isn’t much better.
I was with you until you said "Starlark". Starlark is a million times better than YAML in my experience; why do you think it isn't?
My experience with Starlark (buck2) is that it makes the whole system wildly complex and inscrutable.
No one actually knows how it works. It’s an undebuggable nightmare of macros. Everyone copy/pastes a few macros they know work. But one step off the beaten path and you’re doomed.
I hate code that looks like data but is infect code. Be data or be code. Don’t pretend to be both.
I tried adding support for Jai to public buck2. I didn’t even get close. I need static types and a debugger. Just make everything a Rust plugin.
bonus points when you start embedding code in your yamlified dsl.