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: patch-diff.githubusercontent.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:0829ea56-c061-457e-d2f6-ab25f9b3d377 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D654:3914B5:3B9E906:51AE526:69739F7A |
| html-safe-nonce | 00659ca1240e015e99809f4f234942e13d3ad8d0b55781b800eb531e3faa2474 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjU0OjM5MTRCNTozQjlFOTA2OjUxQUU1MjY6Njk3MzlGN0EiLCJ2aXNpdG9yX2lkIjoiNDQ1MDAzOTc4MDY0MDc5MjQ0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 77c216ec02d615d6a1570cb56eaaa7db76c8461cf8a8004278bd792c4441165c |
| 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 | 3e9aa9d0c22a21b13b378b4acd09f5dd4876a884425aacd32a9f473b84c8762d |
| 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 | ae4dbd3ac4179af799d71b75a60b0075ccccc5f6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width