Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use traits for composable generator #435

Open
2 tasks
Tracked by #272
pat-alt opened this issue Apr 24, 2024 · 0 comments
Open
2 tasks
Tracked by #272

Use traits for composable generator #435

pat-alt opened this issue Apr 24, 2024 · 0 comments
Labels
enhancement New feature or request medium This is expected to be medium.

Comments

@pat-alt
Copy link
Member

pat-alt commented Apr 24, 2024

Maybe an idea could be to use traits: https://ahsmart.com/pub/holy-traits-design-patterns-and-best-practice-book/.

Instead of using a single base struct that can be functionally composed in different ways, we could use traits to define the behavior of different generators. This would still be (perhaps even more) user-friendly, but potentially more flexible and cleeaner.

Also address:

@pat-alt pat-alt changed the title Convergence conditions for composable generator Use traits for composable generator Apr 24, 2024
@pat-alt pat-alt added enhancement New feature or request medium This is expected to be medium. labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium This is expected to be medium.
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant