Uh oh!
There was an error while loading. Please reload this page.
Refactor userـldap app commands - #39928
Conversation
2a9e9a7 to
9215858CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
nfebe
left a comment
There was a problem hiding this comment.
Looks like some void-annotated methods do actually return values?
fsamapoor
commented
Aug 28, 2023
Hello @fenn-cs, Thank you for reviewing the PR. No method with the return type of These two lines do not belong to the same method: Here is the expanded diff: |
9215858 to
e46d750Compare
come-nc
left a comment
There was a problem hiding this comment.
I’m not sure why there is so much hate towards else statements, I find things clearer with them that without. Especially the continue in the loop instead of a simple else looks convoluted.
I like the strong typing, constructor promotion and constant usage in returns though.
Please revert at least the match (true).
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
e46d750 to
b7e19afComparefsamapoor
commented
Jan 24, 2024
Thank you for taking the time to review the changes Come. This was one of my older PRs and I appreciate your suggestions. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
b7e19af to
30c0567CompareUh oh!
There was an error while loading. Please reload this page.
2785151 to
46e2cefCompare46e2cef to
eca25b4CompareTo improve code readability. Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
eca25b4 to
e6a4ebcCompare

Summary
I have made some adjustments to the
apps/user_ldap/lib/Commandclasses to improve the code readability.The improvements in this PR include but are not limited to:
Checklist