đź‘Ť
👋🏼 hallo beyond tellerand!
đź‘Ť
đź‘Ť
1
2
3
"the use of second-person pronouns at the beginning of the sentence is more likely to be impolite"
"we see many software engineering-related n-grams, e.g., "tests" and "the pull", among non-toxic comments but almost none among toxic comments"
Comment Signal | Use For |
---|---|
needs change: | - Smaller changes and fixes that can be resolved in a single commit. - Small updates to current PR. |
needs rework (let's discuss offline): | - Larger changes that require major rework or refactoring. - Typically, these initiate an offline discussion as there’s a lot to discuss. |
nitpick: | - Purely subjective commentary that does not affect the code. - If you must add a nitpick, clearly identify it as such. But, try not to include nitpicks at all! |
"Apparently, the useful comments contain mostly verbs that denote some kind of transformation..."
Can we move the AuthenticateUser() method into our AuthenticationUtilities library.
Similar methods are in the AuthenticationUtilities library (like ReauthenticateUser() and AuthenticateThirdPartyUser()). AuthenticateUser() is also called more than a few times, which warrants its place in the library.Â
Lastly, our Team Working Agreement advises us to place any authentication behavior within the AuthenticationUtilities library.
After this change, calls to AuthenticateUser() go through the library rather than a standalone declaration.
Can we rename the variable "item"Â to something that is less ambiguous.
The variable name "item" is vague and provides little context within its scope. Specifically, the notion of discounts being applied to this object is lost, making the function a bit unclear.
Variable name "item" is changed to something more meaningful; suggestions include "discountEligibleItem" or "discountEligibleProduct".
0
*Based on study by Dragan Stepanović
*Based on study by Microsoft
# Bug Fix PR Template
—--
## What’s happening?
Provide a sentence or two to describe the bug.
## Reproduction Steps
Outline the steps you took to reproduce the bug. Be sure not to forget any steps and that they are in the right order!
1.
2.
3.
## Root Cause
What was the root cause of the bug? How did you identify it?
## Fix
Explain the fix in a sentence or two. Then, go into detail about **why** this fix solves the problem.
## Testing Strategy
How was the fix tested to make sure the bug is truly resolved?
## Impact
Are there any implications this fix may have on other parts of the application?
## Regression Risk
Are you confident this fix does not introduce new issues? If you think this fix may have some regression risk, what steps have been taken to mitigate it?
## Bug Fix Checklist
- [ ] Issue # is linked
- [ ] Fix has been tested locally and works
- [ ] New unit tests have been added to prevent future regressions
- [ ] (If applicable) Relevant documentation has been updated
## Notes
Is there any other context or information to share in order to understand the fix or its impact?
## Thanks for (hopefully) squashing this bug!
(or if you know a good coffee/bakery spot in DĂĽsseldorf!)
or "X", whatever