Skip to content

added builder pattern#20

Open
guggens wants to merge 1 commit into
Devansh-Maurya:masterfrom
guggens:master
Open

added builder pattern#20
guggens wants to merge 1 commit into
Devansh-Maurya:masterfrom
guggens:master

Conversation

@guggens

@guggens guggens commented Oct 15, 2020

Copy link
Copy Markdown

its hacktoberfest, so here you go with a builder kotlin example.

@Devansh-Maurya

Copy link
Copy Markdown
Owner

Thanks @guggens !
Will look into this tomorrow.

@Devansh-Maurya Devansh-Maurya left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please follow the package structure of the repo. Create a separate file for the main() method

Comment thread README.md
* **Builder Pattern: The Builder Pattern helps in construction of complex objects. Typically, you want that an object can only be created by a builder and adheres to some validation, which you can put in the build method.
* **Example:** [Building a book](src/builder)

Proxy is No newline at end of file

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants