{"id":21762666,"url":"https://github.com/skilstak/dk-help-your-kids-with-computer-coding","last_synced_at":"2025-04-13T13:41:14.672Z","repository":{"id":21943965,"uuid":"25268456","full_name":"skilstak/dk-help-your-kids-with-computer-coding","owner":"skilstak","description":"Examples and revisions for DK's 'Help Your Kids with Computer Coding'","archived":false,"fork":false,"pushed_at":"2021-12-28T05:49:07.000Z","size":220,"stargazers_count":21,"open_issues_count":1,"forks_count":17,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T04:41:34.528Z","etag":null,"topics":["books","corrections","dk-book","education","idioms","kids","practice","python","revision"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skilstak.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}},"created_at":"2014-10-15T18:45:40.000Z","updated_at":"2025-02-16T18:01:33.000Z","dependencies_parsed_at":"2022-08-17T23:45:26.591Z","dependency_job_id":null,"html_url":"https://github.com/skilstak/dk-help-your-kids-with-computer-coding","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skilstak%2Fdk-help-your-kids-with-computer-coding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skilstak%2Fdk-help-your-kids-with-computer-coding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skilstak%2Fdk-help-your-kids-with-computer-coding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skilstak%2Fdk-help-your-kids-with-computer-coding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skilstak","download_url":"https://codeload.github.com/skilstak/dk-help-your-kids-with-computer-coding/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248724227,"owners_count":21151557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["books","corrections","dk-book","education","idioms","kids","practice","python","revision"],"created_at":"2024-11-26T12:12:45.145Z","updated_at":"2025-04-13T13:41:14.646Z","avatar_url":"https://github.com/skilstak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Help Your Kids with Computer Coding\n===================================\n\nExamples, revisions, and extensions\nto the DK book [Help Your Kids with Computer\nCoding](http://www.amazon.com/Help-Your-Kids-Computer-Coding/dp/146541956X)\nrelated to the Python\n[`turtle`](https://docs.python.org/3.4/library/turtle.html#module-turtle)\nand [`tkinter`](https://docs.python.org/3.4/library/tkinter.html) modules.\n\nDK's book is one of the better ones but the Python examples use some bad\npractices and can be confusing to follow: \n\n* No code documentation at all\n* Unnecessary use of `from tkinter import *` (or any `*` at all)\n* Unnecessary use of `from turtle import *`\n* Failing to consolidate `import` statements at top\n* Extensive use of globals even from within functions\n* Poor use of structured data\n* Absence of any traditional Object-Oriented introduction\n* Unnecessary abbreviation and obfuscation of variable and function names\n* Use of `\\` for line continuation\n* Failure to mention the [`ttk`](http://wiki.tcl.tk/14796) upgrades\n* Use of `\u003cKey\u003e` events instead of `\u003cKeyPress\u003e` and `\u003cKeyRelease\u003e`\n\nIf unchecked these could instill bad habits into new programmers taking\nthem at face value. This repo is to help parents and students make the\nbest of this otherwise good book and learn to avoid the bad parts.\n\nTo understand why these are bad practices we suggest the following official\nPython documentation: \n\n* [PEP 8](http://legacy.python.org/dev/peps/pep-0008/)\n* [Idioms and Anti-Idioms in Python](https://docs.python.org/3.4/howto/doanddont.html)\n* [Google Python Style Guide](http://google-styleguide.googlecode.com/svn/trunk/pyguide.html)\n* [Yahoo Python Coding Standards](http://lists.osafoundation.org/pipermail/dev/2003-March/000479.html)\n* [CKAN Python Coding Standards](http://docs.ckan.org/en/latest/contributing/python.html)\n\nScratch v.s. Blockly\n====================\n\nIt's worth noting as well that this book uses\n[Scratch](http://scratch.mit.edu/), which is suffers from\nthe following inadequacies compared to\n[Blockly](https://code.google.com/p/blockly/) as used by\n[learn.code.org](http://learn.code.org):\n\n* No functions at all ([Snap!](http://snap.berkeley.edu/) created to address)\n* Not open source\n* Requires 'Flash' instead of just JavaScript\n* Cannot be used to output other code (Blockly outputs JavaScript, Python\n  and more).\n\nThe book does provide some structure to the otherwise unstructured Scratch\nweb site. By following along in the book this could be used to provide the\nsame sort of progressive challenges that learn.code.org does but in an\narguably less effective way.\n\nLICENSE\n=======\n\nWhile these examples fall under copyright with the book, fair use\nallows us to expand and comment on them here. We assume you have already\npurchased a copy of the book and are seeking clarification and what it\ncontains or want to expand on what you have learned in it. Any additional\ncontributions (not in the book) are public domain.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskilstak%2Fdk-help-your-kids-with-computer-coding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskilstak%2Fdk-help-your-kids-with-computer-coding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskilstak%2Fdk-help-your-kids-with-computer-coding/lists"}