That is too abstract though. The only reason there is a language there is because we need control flow, which can be solved by better constructs. An example is, a rule is only valid for certain platform. Instead of having a ‘if (check)’ here, we can have a ‘filter’ construct that can solve the same problem. To me it makes more sense in a build system to follow this pattern for clarity and simplicity.
View all comments
Show parent comment
2
u/puredotaplayer Apr 13 '26
That is too abstract though. The only reason there is a language there is because we need control flow, which can be solved by better constructs. An example is, a rule is only valid for certain platform. Instead of having a ‘if (check)’ here, we can have a ‘filter’ construct that can solve the same problem. To me it makes more sense in a build system to follow this pattern for clarity and simplicity.