All Questions
Tagged with builder-pattern api-design
2 questions
2
votes
2
answers
338
views
Designing a builder as a compile-time state machine
I'm working on a text GUI library which comes with builders for UI components (Buttons, Panels, etc). I have a base class for these builders which I'd like to redesign so that meaningless component ...
0
votes
0
answers
75
views
How to cope with terminal operations in a fluent API?
I am trying to polish my data-mapping library and struggle with my fluent API design as it feels clumsy in some basic use-cases.
The library focuses on defining mapping objects from one type into ...