Title: Add some more notes on how to do HTML render · Issue #50 · UWPCE-PythonCert/ProgrammingInPython · GitHub
Open Graph Title: Add some more notes on how to do HTML render · Issue #50 · UWPCE-PythonCert/ProgrammingInPython
X Title: Add some more notes on how to do HTML render · Issue #50 · UWPCE-PythonCert/ProgrammingInPython
Description: Now that the HTML render assignment is now the last exercise (generally a good move) -- there's no chance, at least in the in-sync version to review it with he students after they've done it. But there were a few "gotcha's" that showed u...
Open Graph Description: Now that the HTML render assignment is now the last exercise (generally a good move) -- there's no chance, at least in the in-sync version to review it with he students after they've done it. But t...
X Description: Now that the HTML render assignment is now the last exercise (generally a good move) -- there's no chance, at least in the in-sync version to review it with he students after they've done i...
Opengraph URL: https://github.com/UWPCE-PythonCert/ProgrammingInPython/issues/50
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add some more notes on how to do HTML render","articleBody":"Now that the HTML render assignment is now the last exercise (generally a good move) -- there's no chance, at least in the in-sync version to review it with he students after they've done it.\r\n\r\nBut there were a few \"gotcha's\" that showed up in their work this time, so it would be good to put some more notes in there. about it.\r\n\r\nI need to review again their submissions, but one I rember is that a few folks put code like:\r\n\r\n```\r\nif self.tag == 'html':\r\n do_something_special\r\n```\r\n\r\nwhich really defeats the purpose of subclassing :-)\r\n\r\nAlso: it would be good to refactor that instructions (and tests) a bit to put a placeholder tag for the Element base class -- students get a bit confused about what it's for if it has an \"html\" tag, then why do you make an Html subclass?\r\n\r\n\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/PythonCHB","@type":"Person","name":"PythonCHB"},"datePublished":"2020-12-31T19:58:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/50/ProgrammingInPython/issues/50"}
| 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:4ccad932-a2d8-b52b-6653-9495d55d6a9e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A868:CD10D:131F414:18BA4CB:696B1879 |
| html-safe-nonce | 12cf55413a09e703ccae088fb458327aa3278f1225124a264e780b4a7fa262c1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODY4OkNEMTBEOjEzMUY0MTQ6MThCQTRDQjo2OTZCMTg3OSIsInZpc2l0b3JfaWQiOiI4MjMyODk0NDkzNzY1ODU4NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7f8ae42c64f0c3b7ed55b8249b852549889b8fee9443a2757d59c1ad216db040 |
| hovercard-subject-tag | issue:777125702 |
| 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/50/issue_layout |
| twitter:image | https://opengraph.githubassets.com/20c434c93972727676826ab006a872ea848fa0a75ba5156c0ddd8f48122934cd/UWPCE-PythonCert/ProgrammingInPython/issues/50 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/20c434c93972727676826ab006a872ea848fa0a75ba5156c0ddd8f48122934cd/UWPCE-PythonCert/ProgrammingInPython/issues/50 |
| og:image:alt | Now that the HTML render assignment is now the last exercise (generally a good move) -- there's no chance, at least in the in-sync version to review it with he students after they've done it. But t... |
| 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