Skip to content
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

Add defined check #53

Merged
merged 1 commit into from Nov 4, 2019
Merged

Conversation

manwar
Copy link
Contributor

@manwar manwar commented Nov 1, 2019

Hi @oalders

Please review the PR.
This was assigned to me as November month assignment by Pull Request Club.

Many Thanks.
Best Regards,
Mohammad S Anwar

@coveralls
Copy link

coveralls commented Nov 1, 2019

Coverage Status

Coverage remained the same at 77.419% when pulling 918cf43 on manwar:proposed-minor-improvements into 14df39e on libwww-perl:master.

@oalders
Copy link
Member

oalders commented Nov 1, 2019

Thanks @manwar. I think I understand what you're doing, but it's not clear to my why you're using our rather than my here. Having said that, I wonder if we'd be better off using something like Const::Fast here, if we were ok with the added dependencies.

@manwar
Copy link
Contributor Author

manwar commented Nov 1, 2019

@oalders there is no particular reason of using "our". I am happy to change to whatever you suggest to.

@oalders
Copy link
Member

oalders commented Nov 1, 2019

Ok, I've asked for others to comment on this as well, so maybe hold off before making any changes. :)

@karenetheridge
Copy link
Member

I'm not a fan of changing the use of these strings -- it adds cognitive load to have to keep referring elsewhere in the document to see what these values are.

The defined check is great.

@manwar manwar force-pushed the proposed-minor-improvements branch from b32f09c to 918cf43 Compare November 1, 2019 23:52
@manwar
Copy link
Contributor Author

manwar commented Nov 1, 2019

@karenetheridge I have removed the changes completely and kept just defined check.
Is this any good?

@oalders
Copy link
Member

oalders commented Nov 4, 2019

Thanks @manwar!

@oalders oalders merged commit d1daa33 into libwww-perl:master Nov 4, 2019
@oalders oalders changed the title Proposed minor improvements Add defined check Feb 24, 2020
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.

None yet

4 participants