-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make style guide #383
Comments
Maybe we should define minimal test requirements and have it as a template. We could mark off all the criteria that were fulfilled. The minimal set would force to you to think of edge cases, and not just the "happy path" that you know is working. One example I can think of is testing that the system throws a panic when something is off (we have plenty of |
Also, it would be nice to have PR template. The template should at least contain the following:
|
Nice writeup, I agree with most points.
I'm a bit concerned about this idea. I know it's qualified ('to be considered...') but still - you could easily kill a software team taking this kind of fix-it-later approach IMO. I'd like to hear @jtremback word on this, and some real justification for support. IMO we could allocate a bit more time to improving livability of the codebase. Rest of the points are good. I wonder if we should require 3 approvals for large/dangerous PR's. |
I haven't read it myself but Ubers go style guide might be useful |
We need to focus on shipping secure code. This currently consists of finishing remaining requirements and continuing to test. I think it will be a lot easier to refactor for clarity once the codebase stops moving so fast. If there is tech debt that poses a security concern, make an issue, since that is high priority. If it is about readability/organization, please take time to fix it if you want and make a PR, but Github issues about this kind of thing will not be given a high priority. And we already are spending a lot of time cleaning things up, Shawn in particular. |
This is an interesting article |
Problem
We need a high level style guide for the repo with test suggestions, best practices, etc.
Note: this issue is more important as we approach launch, where code quality should be improving
Closing criteria
create a style guide based on scattered slack convos (consolidated below)
Example Content
Tests: Documenting and having intention in your test assertions is especially important in an async work environment, where context on someone else's work is not always easy to gain. Good practices to remember:
PRs: We move with a lot of speed adding changes to the ICS repo. Although speed of development is good, I would like to make sure that we do not rush (due to some feeling of emergency) and introduce bugs in the code
The text was updated successfully, but these errors were encountered: