Title: Clarify why comparing things to none is discouraged · Issue #143 · quantifiedcode/python-anti-patterns · GitHub
Open Graph Title: Clarify why comparing things to none is discouraged · Issue #143 · quantifiedcode/python-anti-patterns
X Title: Clarify why comparing things to none is discouraged · Issue #143 · quantifiedcode/python-anti-patterns
Description: This page: http://docs.quantifiedcode.com/python-anti-patterns/readability/comparison_to_none.html Is a little tautological, i.e. "it is preferred". I think it could elaborate more on why the == operator it is not preferred. This could b...
Open Graph Description: This page: http://docs.quantifiedcode.com/python-anti-patterns/readability/comparison_to_none.html Is a little tautological, i.e. "it is preferred". I think it could elaborate more on why the == op...
X Description: This page: http://docs.quantifiedcode.com/python-anti-patterns/readability/comparison_to_none.html Is a little tautological, i.e. "it is preferred". I think it could elaborate more on why...
Opengraph URL: https://github.com/quantifiedcode/python-anti-patterns/issues/143
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Clarify why comparing things to none is discouraged","articleBody":"This page: http://docs.quantifiedcode.com/python-anti-patterns/readability/comparison_to_none.html\r\n\r\nIs a little tautological, i.e. \"it is preferred\". I think it could elaborate more on why the `==` operator it is not preferred.\r\n\r\nThis could be used as a reference:\r\n\r\nhttps://stackoverflow.com/questions/3257919/what-is-the-difference-between-is-none-and-none","author":{"url":"https://github.com/gandhis1","@type":"Person","name":"gandhis1"},"datePublished":"2020-01-02T14:46:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/143/python-anti-patterns/issues/143"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c11f4551-2126-8812-c64f-973dcbdc59a5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C1EE:1860A8:4A265D:67AB6A:696A6B40 |
| html-safe-nonce | 4251a8b93af7175f288d102c26bfd5d0fe61c68cf157c3d1c1949edd2b007bdf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUVFOjE4NjBBODo0QTI2NUQ6NjdBQjZBOjY5NkE2QjQwIiwidmlzaXRvcl9pZCI6IjgzMjcxNzUyNDE5OTI5MjM5NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8c66f4f9e488672f2b5276dc831b5ae8e3ee00be46c03cf54db0b409689a0cf2 |
| hovercard-subject-tag | issue:544607544 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/quantifiedcode/python-anti-patterns/143/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aae93cd66cd8ae76dbae6e30ccc06f8efae6783ebb48c1d2698e3ec64b2e4e69/quantifiedcode/python-anti-patterns/issues/143 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aae93cd66cd8ae76dbae6e30ccc06f8efae6783ebb48c1d2698e3ec64b2e4e69/quantifiedcode/python-anti-patterns/issues/143 |
| og:image:alt | This page: http://docs.quantifiedcode.com/python-anti-patterns/readability/comparison_to_none.html Is a little tautological, i.e. "it is preferred". I think it could elaborate more on why the == op... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gandhis1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6fea32d5b7276b841b7a803796d9715bc6cfb31ed549fdf9de2948ac25d12ba6 |
| turbo-cache-control | no-preview |
| go-import | github.com/quantifiedcode/python-anti-patterns git https://github.com/quantifiedcode/python-anti-patterns.git |
| octolytics-dimension-user_id | 6774260 |
| octolytics-dimension-user_login | quantifiedcode |
| octolytics-dimension-repository_id | 22258112 |
| octolytics-dimension-repository_nwo | quantifiedcode/python-anti-patterns |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22258112 |
| octolytics-dimension-repository_network_root_nwo | quantifiedcode/python-anti-patterns |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f2d9f6432a5a115ec709295ae70623f33bb80aee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width