Closed tgotwig closed 3 years ago
It is confusing to have bar: String
in both Foo
and FooBuilder
— consider renaming one of the bar
s to something else.
@nesteruk Changed this and a little bit more 🙂
This example does not seemed to be explaining much, maybe we could have a real-life example or an explanation on why it needs to be constructed this way rather than just specifying the struct directly?
@pickfire Hmm, changed it a little bit up. I think that runnable code is better than not runnable code and the comments should explain enough 🧐
@TGotwig Hey, thank you for the PR. Could you please rebase on master
so the CI is checking this through while we get to reviewing this PR? Thank you ;-)
@simonsan Sure, will do! 😃
@simonsan Sure, will do! 😃
Sorry, haven't seen that there is no addition to summary or anything needed. So I could do it myself. ;-) It's fine then.
@MarcoIeni You also want to look over it again?
Thanks! :-)
Cool! 😊🚀
https://github.com/TGotwig/patterns/blob/patch-1/patterns/builder.md