Task is turning yaml into a programming language #801
Replies: 1 comment 3 replies
-
Different tools for different use cases. If you want to write a script in a programming language Mage may be a good choice (although you could just use a bare Task is more about orchestrating stuff like building apps, which may require previous steps like code generation (where checksuming is important to skip when not necessary), etc. In this case you'll mostly call external executables (Go, Docker, etc, etc). Doing that with a programming language may be inconvenient and require a lot more code, and you'll have to write some stuff like the mentioned checksuming of files yourself. To be honest it may even make sense to use both: Task for the boring automation of calling stuff to build your app and Mage (or There's also the fact that Task is language agnostic. Many Task users are not Go programmers. |
Beta Was this translation helpful? Give feedback.
-
I feel like Task is taking the shape of YaaPL, Yaml as a Programming Language. It relies heavily on shell scripting, but via a go interpreter, meaning it will likely continue to be a bit buggy and/or miss specific features. There's a heavy reliance on text templating, but it seems for purposes that aren't strictly related to templating. Go text templating isn't even that easy to write or understand due to quoting, escaping, non-existent error handling, etc.
It makes me question whether it's even the right approach to continue down this path.
YAML isn't a programming language, it's a data serialization format.
I feel like there will be a never ending stream of requests for features, ways to do things, complaints that specific functionality works one way, but they need it to work another way because folks won't have access to "raw primitives" the way they would in a typical programming language.
I'm starting to find something like Mage to be a lot more enticing.
I'm curious what people thing about this?
Beta Was this translation helpful? Give feedback.
All reactions