Adrienne Tacke PRO
🇵🇭 Software Engineer & Sr. Developer 🥑 @ Cisco • Published Author • LinkedIn Learning Instructor • Twitch Streamer 🕹 Most important: I spend way too much money on desserts and endless hours playing Borderlands
👍
👋🏼 Hi Symetri!
👍
👍
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..."
Please 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.
Could you separate the sorting behavior from the filtering behavior and into its own PR?
I am having trouble reviewing both the sorting and filtering behavior in a single PR. By moving sorting into its own PR and leaving this PR focused on filtering, I can review each PR more clearly. Also, if anything breaks after these two PRs are merged and deployed, we can isolate where the problem actually lies to a smaller portion of the codebase.
Filtering behavior and sorting behavior are separated and isolated into their own respective PRs.
Please 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
By Adrienne Tacke
"Unlock the secrets to effective code reviews with Adrienne Tacke. Learn how to go beyond the bare minimum and create a positive environment for reviewer and author collaboration. Discover common mistakes and how to fix them."
🇵🇭 Software Engineer & Sr. Developer 🥑 @ Cisco • Published Author • LinkedIn Learning Instructor • Twitch Streamer 🕹 Most important: I spend way too much money on desserts and endless hours playing Borderlands