Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

Design Patterns & Language #71

Open
rigelrozanski opened this issue Aug 7, 2018 · 2 comments
Open

Design Patterns & Language #71

rigelrozanski opened this issue Aug 7, 2018 · 2 comments

Comments

@rigelrozanski
Copy link
Contributor

We should create a design patterns document for standardized design patterns and associated language which are used within Tendermint/Cosmos. Off the bat, a few features which I think should be discussed here include:

@rigelrozanski
Copy link
Contributor Author

Could maybe be placed in go/ dir but this repo needs to be reorganized heavily anyways

@greg-szabo
Copy link

I think this will only be beneficial if there is some documentation on what the design pattern means. (At least a link of a blog post of some developer somewhere.)

For example:
Use contexts where possible: https://blog.golang.org/context
Use pointer method receivers where possible: https://nathanleclaire.com/blog/2014/08/09/dont-get-bitten-by-pointer-vs-non-pointer-method-receivers-in-golang/

etc... (I know that the examples are very basic.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants