Skip to content

Conversation

Skullbock
Copy link
Collaborator

No description provided.

}

/**
* Get the oAuth2 state variable for security checks
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should still keep the descriptions. They are helpful to know what the function does.

Removing the return and params is fine because you've typed it anyways

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thanks for the suggestion. I usually avoid comments that basically match the method name. Seem reduntant. Will try to keep the ones that make sense.
I'm currently waiting on this v5 to see if it makes senso to give it a complete overhaul instead of some small updates, but not sure i have the time.

Any suggestion for a refactoring / improvement are welcome!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes that's how @xrobau works too. That makes sense. Maybe just keep it for stuff that needs an additional explanation.

I like having it for IDE purposes.

Everything else looked fine to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants