Title: Unnecessary underscore suffix for many arguments and attributes · Issue #234 · STIXProject/python-stix · GitHub
Open Graph Title: Unnecessary underscore suffix for many arguments and attributes · Issue #234 · STIXProject/python-stix
X Title: Unnecessary underscore suffix for many arguments and attributes · Issue #234 · STIXProject/python-stix
Description: In Python, id is not a reserved word (it is the name of a built-in function though), so there is no reason to use id_ for function arguments and attribute names. It only clutters the API. The same applies to type and object.
Open Graph Description: In Python, id is not a reserved word (it is the name of a built-in function though), so there is no reason to use id_ for function arguments and attribute names. It only clutters the API. The same ...
X Description: In Python, id is not a reserved word (it is the name of a built-in function though), so there is no reason to use id_ for function arguments and attribute names. It only clutters the API. The same ...
Opengraph URL: https://github.com/STIXProject/python-stix/issues/234
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unnecessary underscore suffix for many arguments and attributes","articleBody":"In Python, `id` is not a reserved word (it is the name of a built-in function though), so there is no reason to use `id_` for function arguments and attribute names. It only clutters the API.\n\nThe same applies to `type` and `object`.\n","author":{"url":"https://github.com/wbolster","@type":"Person","name":"wbolster"},"datePublished":"2014-11-25T15:24:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/234/python-stix/issues/234"}
| 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:78101515-7beb-75b4-028f-57b843c0b7db |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ABC6:6834D:2438298:3067DC2:69706604 |
| html-safe-nonce | 5c2b14ee030844e6dad93a63a65476b49966c725cdac7631a8f6126935543345 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkM2OjY4MzREOjI0MzgyOTg6MzA2N0RDMjo2OTcwNjYwNCIsInZpc2l0b3JfaWQiOiIxMTI3NDUyMzkzMjYwMjEzNzY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7f43938f9b1729940f1e96665b9b22714281200f0568d2203319bb7d39729c3f |
| hovercard-subject-tag | issue:50040406 |
| 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/STIXProject/python-stix/234/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8bd12e30f492b39d7e2560a67943a8cb641f9357eb1533476f258153be33d29f/STIXProject/python-stix/issues/234 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8bd12e30f492b39d7e2560a67943a8cb641f9357eb1533476f258153be33d29f/STIXProject/python-stix/issues/234 |
| og:image:alt | In Python, id is not a reserved word (it is the name of a built-in function though), so there is no reason to use id_ for function arguments and attribute names. It only clutters the API. The same ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wbolster |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/STIXProject/python-stix git https://github.com/STIXProject/python-stix.git |
| octolytics-dimension-user_id | 2774079 |
| octolytics-dimension-user_login | STIXProject |
| octolytics-dimension-repository_id | 8163746 |
| octolytics-dimension-repository_nwo | STIXProject/python-stix |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8163746 |
| octolytics-dimension-repository_network_root_nwo | STIXProject/python-stix |
| 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 | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width