Skip to content

Alternative syntax suggestions #13

@KelseyDH

Description

@KelseyDH

This is an impressive DSL and I really like how it flows. 😉 However, I have to admit I find the concepts of dam and outflows to be confusing terminology. I love the railway analogy, but as it applies to water I find it a bit confusing. The railway analogy is described as success and failure paths so ideally control flow language should invoke those concepts.

So when I think of what would be most human readable for handling problems, it would be language like on_breach, on_failure or on_error.

Likewise for assessing state, instead of outflow I quite like context which is becoming the idiomatic way we see it done in gems like Interactors.

Otherwise I love this DSL! Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions