Title: More notes on design of OO mailroom · Issue #51 · UWPCE-PythonCert/ProgrammingInPython · GitHub
Open Graph Title: More notes on design of OO mailroom · Issue #51 · UWPCE-PythonCert/ProgrammingInPython
X Title: More notes on design of OO mailroom · Issue #51 · UWPCE-PythonCert/ProgrammingInPython
Description: I found a few students would write a DonorCollection class, but have it be a wrapper around their previous structure, without "proper" encapsulation. that is, the class would be a namespace for the all their previous functions that worke...
Open Graph Description: I found a few students would write a DonorCollection class, but have it be a wrapper around their previous structure, without "proper" encapsulation. that is, the class would be a namespace for the...
X Description: I found a few students would write a DonorCollection class, but have it be a wrapper around their previous structure, without "proper" encapsulation. that is, the class would be a namespa...
Opengraph URL: https://github.com/UWPCE-PythonCert/ProgrammingInPython/issues/51
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"More notes on design of OO mailroom","articleBody":"I found a few students would write a DonorCollection class, but have it be a wrapper around their previous structure, without \"proper\" encapsulation. \r\n\r\nthat is, the class would be a namespace for the all their previous functions that worked with the donors structure, but kept the structure itself separate.\r\n\r\nA little more discussion / clarity on the design might help this.\r\n\r\nand a warning against:\r\n\r\n```\r\ndef __init__(self, donors):\r\n self.donors = donors\r\n```\r\n\r\nwhere donors is the original donors structure, and there is no copy made.\r\n\r\n","author":{"url":"https://github.com/PythonCHB","@type":"Person","name":"PythonCHB"},"datePublished":"2020-12-31T20:03:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/51/ProgrammingInPython/issues/51"}
| 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:ac64a918-a80f-9ef5-6c91-954b8bec72d3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFCA:3BF58E:24636F:2E817B:696B7F54 |
| html-safe-nonce | 53194032a942a31cee9571e937597f00751fc544011796b3f74db5c4699e9fe3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkNBOjNCRjU4RToyNDYzNkY6MkU4MTdCOjY5NkI3RjU0IiwidmlzaXRvcl9pZCI6IjM5NTA0MTkzMTc1NjY5NjM1NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e26a9422a761961e02f76fa30dc6c85dac636888ce66e27b83dfec3dc0272471 |
| hovercard-subject-tag | issue:777126528 |
| 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/UWPCE-PythonCert/ProgrammingInPython/51/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f5230caf089688de91dc782352985ed1b7682cf5c8c5a1cd9862f23c4721f76b/UWPCE-PythonCert/ProgrammingInPython/issues/51 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f5230caf089688de91dc782352985ed1b7682cf5c8c5a1cd9862f23c4721f76b/UWPCE-PythonCert/ProgrammingInPython/issues/51 |
| og:image:alt | I found a few students would write a DonorCollection class, but have it be a wrapper around their previous structure, without "proper" encapsulation. that is, the class would be a namespace for the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PythonCHB |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/UWPCE-PythonCert/ProgrammingInPython git https://github.com/UWPCE-PythonCert/ProgrammingInPython.git |
| octolytics-dimension-user_id | 5218825 |
| octolytics-dimension-user_login | UWPCE-PythonCert |
| octolytics-dimension-repository_id | 268409557 |
| octolytics-dimension-repository_nwo | UWPCE-PythonCert/ProgrammingInPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 268409557 |
| octolytics-dimension-repository_network_root_nwo | UWPCE-PythonCert/ProgrammingInPython |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width