René's URL Explorer Experiment


Title: Data Structures Notes Feedback · Issue #13 · stanfordpython/course-reader · GitHub

Open Graph Title: Data Structures Notes Feedback · Issue #13 · stanfordpython/course-reader

X Title: Data Structures Notes Feedback · Issue #13 · stanfordpython/course-reader

Description: Another set of awesome notes - really well done!! As in my other feedback documents, the feedback in roughly chronological order, and line numbers referenced for convenience. Line 4: This statement feels a bit abrupt and out of place - p...

Open Graph Description: Another set of awesome notes - really well done!! As in my other feedback documents, the feedback in roughly chronological order, and line numbers referenced for convenience. Line 4: This statement...

X Description: Another set of awesome notes - really well done!! As in my other feedback documents, the feedback in roughly chronological order, and line numbers referenced for convenience. Line 4: This statement...

Opengraph URL: https://github.com/stanfordpython/course-reader/issues/13

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Data Structures Notes Feedback","articleBody":"Another set of awesome notes - really well done!! As in my other feedback documents, the feedback in roughly chronological order, and line numbers referenced for convenience.\r\n\r\n- Line 4: This statement feels a bit abrupt and out of place - perhaps add a bit more to it so that it signposts the flow of the notes. E.g. \"We'll start by covering the common data structures in Python: we'll take a look at lists, tuples, and sets, all of which store collections of objects, and dictionaries, which store mappings between objects. Then, we'll look into constructing data structures through comprehensions, and at advanced looping techniques.\" (If it signposts the full set of notes, then it reads more purposefully and seems more complete).\r\n- Line 15: Here, perhaps spell out explicitly that we can have lists within lists.\r\n- Line 22: Not so much a critique as a flag for future - once the notes are hosted on our site, we'll need to make sure to link to the correct page on stanfordpython.com.\r\n- Line 27: Could be nice to add `len(mixed)` here as well.\r\n- Line 37: This section seems as though it requires a bit more rigorous treatment of the `list` function. What constraints, for example, are there on constructing lists from objects? How would it behave if I passed an `int` vs. a `string` vs. a `dict`? A slightly more detailed overview of the way that `list` behaves on different data types, and a couple more examples, could make this section clearer.\r\n- Line 45: This is fantastic - I love this table and your subdivision of these functions.\r\n- Line 45(ish): Perhaps spell out explicitly that since lists are mutable these are in-place operations.\r\n- Line 52/61: It's peculiar that on Line 61 you mention that `.sort` returns `None`, while you don't make the same mention for `.append` which also returns `None`. I haven't verified this, but I'm going to guess that all of these functions actually return `None`, in which case you can make this note at the top before you delve into describing the individual functions.\r\n- Line 61: Might be worth explaining that the `.sort` function requires objects of the same type (raises a `TypeError` otherwise), and going through how `.sort` sorts elements of different types (numbers is obvious, but an example showing sorting strings alphanumerically, for example, could be a useful addition).\r\n- Line 138: Small grammatical nit: \"just as with lists\", or \"just like with lists\".\r\n- Line 170: Unicornelius is 1001?! Why didn't I get to attend its 1000th birthday party?\r\n- Line 203: This is very well phrased, and there's nothing wrong with it, but there's a little bit of unpacking work that needs to take place on the part of the student here. I might lightly suggest a picture - almost like what you did with the baggage tag - explaining why it's permitted to modify a list within a tuple, but why it's not permitted to change an integer within a tuple.\r\n- Line 216: Before we move on to sets, we covered the `list()` function, and we will cover the `set()` function, but we don't cover the `tuple()` function. Is there a reason for this?\r\n- Line 230: Contrast this with the O(N) for membership testing in lists and tuples.\r\n- Line 231: Might be fun to note this is an O(N) way to eliminate duplicates? (I've seen that interview question twice in my experience so... might be a handy note). 😊\r\n- Line 289: This section is clear, concise, and great. Fantastic job.\r\n- Line 325: Since we're not assuming CS103 (or any familiarity with sets), it would be useful to (briefly) define here what a subset means in the context of set theory.\r\n- Line 378: We've treated all other instances of collections with a high degree of specificity, so this one reads as vague. One comment: I believe it's worthwhile here to specify that `d.keys()` returns a `dict_keys` object, `d.values()` returns a `dict_values`, and `d.items()` returns a `dict_items` object, for completeness and specificity. And one question: to the best of your knowledge, why... a `dict_keys`/`dict_values` object (I understand the usefulness of `dict_items` for looping)? Are those types useful for anything other than casting to a different type of collection?\r\n- Line 413: Typo.\r\n\u003e A list comprehension looks has the following syntax\r\n- Line 425: An example of a set comprehension would be great here. Also, explicitly defining the syntax of the dict comprehension would be helpful - e.g. showing that students can do something with this syntax (`fn(key, value) for key in collection`) in addition to this syntax from the example (`fn(key, value) for key, value in collection`).\r\n- Line 439: I'm not sure we go into enough detail here about comprehensions (specifically list comprehensions), since this is the only place many students will see them rigorously treated before we blitz through them as a review in FP. Unless there's somewhere else we cover this, we should cover the conditional component of list comprehensions too.\r\n- Line 447: I'd make the same comment here about typing as I made on Line 378; it might be worth explaining that this is a unique type, rather than just a `collection`?\r\n- Line 461: Let's add a bit more detail about edge cases - e.g. how `zip` behaves when the two collections aren't of the same size.\r\n- Line 483: Typo \"then\".","author":{"url":"https://github.com/cooper-mj","@type":"Person","name":"cooper-mj"},"datePublished":"2020-09-13T04:24:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/13/course-reader/issues/13"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2943e256-5ed6-097f-dead-c0a9cc09e472
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD8CC:2C23AD:7A99FC1:9E9CE34:697E6AE0
html-safe-nonceef6e31caee4169de6d3a46e5c28038e503f27812d29adf763d0be53b35cfdf76
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOENDOjJDMjNBRDo3QTk5RkMxOjlFOUNFMzQ6Njk3RTZBRTAiLCJ2aXNpdG9yX2lkIjoiNTA0MDU4NDEyNTg0NTQ5ODU5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca7e29b2b2401a6acaebd52a0bde19a6c7da515a820c00885addee30b8f3eb23a
hovercard-subject-tagissue:700488634
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stanfordpython/course-reader/13/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fab4c910abe7b040dc370dd3f238617eb2a2b1bb5d1e083178aaac05b86017c2/stanfordpython/course-reader/issues/13
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fab4c910abe7b040dc370dd3f238617eb2a2b1bb5d1e083178aaac05b86017c2/stanfordpython/course-reader/issues/13
og:image:altAnother set of awesome notes - really well done!! As in my other feedback documents, the feedback in roughly chronological order, and line numbers referenced for convenience. Line 4: This statement...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecooper-mj
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/stanfordpython/course-reader git https://github.com/stanfordpython/course-reader.git
octolytics-dimension-user_id13142353
octolytics-dimension-user_loginstanfordpython
octolytics-dimension-repository_id284186205
octolytics-dimension-repository_nwostanfordpython/course-reader
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id284186205
octolytics-dimension-repository_network_root_nwostanfordpython/course-reader
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/stanfordpython/course-reader/issues/13#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstanfordpython%2Fcourse-reader%2Fissues%2F13
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstanfordpython%2Fcourse-reader%2Fissues%2F13
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=stanfordpython%2Fcourse-reader
Reloadhttps://patch-diff.githubusercontent.com/stanfordpython/course-reader/issues/13
Reloadhttps://patch-diff.githubusercontent.com/stanfordpython/course-reader/issues/13
Reloadhttps://patch-diff.githubusercontent.com/stanfordpython/course-reader/issues/13
stanfordpython https://patch-diff.githubusercontent.com/stanfordpython
course-readerhttps://patch-diff.githubusercontent.com/stanfordpython/course-reader
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fstanfordpython%2Fcourse-reader
Fork 7 https://patch-diff.githubusercontent.com/login?return_to=%2Fstanfordpython%2Fcourse-reader
Star 14 https://patch-diff.githubusercontent.com/login?return_to=%2Fstanfordpython%2Fcourse-reader
Code https://patch-diff.githubusercontent.com/stanfordpython/course-reader
Issues 5 https://patch-diff.githubusercontent.com/stanfordpython/course-reader/issues
Pull requests 3 https://patch-diff.githubusercontent.com/stanfordpython/course-reader/pulls
Actions https://patch-diff.githubusercontent.com/stanfordpython/course-reader/actions
Projects 0 https://patch-diff.githubusercontent.com/stanfordpython/course-reader/projects
Security 0 https://patch-diff.githubusercontent.com/stanfordpython/course-reader/security
Insights https://patch-diff.githubusercontent.com/stanfordpython/course-reader/pulse
Code https://patch-diff.githubusercontent.com/stanfordpython/course-reader
Issues https://patch-diff.githubusercontent.com/stanfordpython/course-reader/issues
Pull requests https://patch-diff.githubusercontent.com/stanfordpython/course-reader/pulls
Actions https://patch-diff.githubusercontent.com/stanfordpython/course-reader/actions
Projects https://patch-diff.githubusercontent.com/stanfordpython/course-reader/projects
Security https://patch-diff.githubusercontent.com/stanfordpython/course-reader/security
Insights https://patch-diff.githubusercontent.com/stanfordpython/course-reader/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/stanfordpython/course-reader/issues/13
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/stanfordpython/course-reader/issues/13
Data Structures Notes Feedbackhttps://patch-diff.githubusercontent.com/stanfordpython/course-reader/issues/13#top
https://patch-diff.githubusercontent.com/parthsarin
https://github.com/cooper-mj
https://github.com/cooper-mj
cooper-mjhttps://github.com/cooper-mj
on Sep 13, 2020https://github.com/stanfordpython/course-reader/issues/13#issue-700488634
parthsarinhttps://patch-diff.githubusercontent.com/parthsarin
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.