{"id":17834684,"url":"https://github.com/bendog/analogies","last_synced_at":"2026-02-27T04:31:46.131Z","repository":{"id":96330607,"uuid":"277018078","full_name":"bendog/analogies","owner":"bendog","description":"Weird analogies I've come up with while teaching Python","archived":false,"fork":false,"pushed_at":"2020-07-04T01:49:06.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T03:32:26.540Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bendog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-04T01:38:48.000Z","updated_at":"2020-07-04T01:49:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"383d9282-0ad9-4b66-a768-edfc08982096","html_url":"https://github.com/bendog/analogies","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bendog/analogies","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendog%2Fanalogies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendog%2Fanalogies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendog%2Fanalogies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendog%2Fanalogies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendog","download_url":"https://codeload.github.com/bendog/analogies/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendog%2Fanalogies/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29884697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-27T20:09:35.874Z","updated_at":"2026-02-27T04:31:46.117Z","avatar_url":"https://github.com/bendog.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Analogies\n\nWeird analogies I've come up with while teaching Python\n\n## Functions are like contractors\n\n**Functions are like contractors, they might do the same task, but once they're done they pack up and leave.**\n\nLike your uber drivers all do the same task, but if you have a good chat to one driver about cats, the next driver wont know what you talked about.\n\n## Functions inherit variables from parents\n\n**Children inherit their parents genes, parents don't inherit the genes of their children.**\n\nA function (child) will know the values of the variables set in the main (global/parent) part of your script, but the variables set in the function (child) will only be known to the function (child).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendog%2Fanalogies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbendog%2Fanalogies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendog%2Fanalogies/lists"}