Skip to content

DSL vs. method chaining? #4

@joem

Description

@joem

This isn't so much an 'issue' as it simply 'something to consider':

I noticed that this is one of the only (if not the only) implementation listed on the organization page that doesn't use method chaining for the start_of_line(), find(), maybe(), etc. methods...

I wonder if it might be better to follow the original's method chaining strategy instead of this DSL approach? I'm pretty sure there are things possible with method chaining that you can't do with the DSL (although admittedly I'm not sure if any of it's actually useful). Also, it might make it easier to translate and keep up with any possible changes to the other versions if it were more closely following their implementations.

What's your take?

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