|
|
|
|
|
by rednafi
704 days ago
|
|
Isn't it essentially doing exactly that? The only difference is that it returns a pointer to the struct from each method. The advantange of doing that is it allows you to compose it as such `WithFizz(...).WithBazz(...)`. If you don't need the composition, you can just add the methods as above and call it a day. |
|