TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Beta test Execute Program's interactive "Python for Programmers" course

99 点作者 gary_bernhardt超过 1 年前
I&#x27;m Gary Bernhardt, founder of Execute Program, an interactive platform for learning programming languages and other programming tools. Our &quot;Python for Programmers&quot; course is in a free open beta for the next week or so. We don&#x27;t normally do open betas, but the infrastructure behind this course is new and very complex, so we want to stress test it.<p><a href="https:&#x2F;&#x2F;www.executeprogram.com&#x2F;courses&#x2F;python-for-programmers" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.executeprogram.com&#x2F;courses&#x2F;python-for-programmer...</a><p>Today, &quot;Python for Programmers&quot; contains 581 interactive code examples covering the core language. It&#x27;s aimed at established programmers, not beginners. We don&#x27;t explain basic language features like `while`, but we do show them briefly and note anything special about how they work in Python. We pay special attention to foot guns. For example, we have an entire lesson about Python&#x27;s mutable default argument foot gun.<p>This is the first of two courses, with the second coming in 2024. For this course, we drew the line at __dunder__ methods: if a topic requires a dunder method other than `__init__`, then it&#x27;ll be in the follow-up course. This beta is concurrent with the tail end of our editing process, so you may see the course grow by another 17 lessons (214 code examples) during the beta.<p>Some details about how the course works internally, and why we need a beta at all:<p>First, all Python code in the course runs in your browser via Pyodide. (Reality continues to look more and more like my PyCon 2014 talk [1].) You&#x27;ll feel a pause when the first code example runs, as your browser loads and boots CPython (around 12 MB). After that, it should be as responsive as a local app.<p>Second, if you look at the course page, you&#x27;ll see that it&#x27;s structured as a DAG, similar to a &quot;tech tree&quot; in Civilization, Age of Empires, Stellaris, Satisfactory, etc. (Some of those games have true trees, but some of their &quot;trees&quot; are actually DAGs like ours.) You make progress through the course by traversing one graph edge at a time. Our courses have always been structured as graphs internally, but the raw graphs are simply unreadable due to the number of edges [2].<p>This year, I taught Execute Program to simplify its own course graphs by breaking them into the level subgraphs that you see on the page, so we can finally render them. It automatically turns the mess that I linked above into the clean graphs that you see in the course. The graph for this course is currently a bit dull, but it&#x27;ll fill out as we finish editing the remaining lessons. I like Everyday TypeScript&#x27;s graph [3] the best.<p>Please try the course and use the &quot;Give Feedback&quot; entry in the menu to tell us what you think! I&#x27;ll also stick around in this thread today.<p>[1] <a href="https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;the-birth-and-death-of-javascript" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;the-birth-and-death...</a><p>[2] <a href="https:&#x2F;&#x2F;executeprogram-misc.s3.us-east-1.amazonaws.com&#x2F;python-for-programmers-1.png" rel="nofollow noreferrer">https:&#x2F;&#x2F;executeprogram-misc.s3.us-east-1.amazonaws.com&#x2F;pytho...</a><p>[3] <a href="https:&#x2F;&#x2F;www.executeprogram.com&#x2F;courses&#x2F;everyday-typescript" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.executeprogram.com&#x2F;courses&#x2F;everyday-typescript</a>

8 条评论

andrewedstrom超过 1 年前
Execute Program is one of the best tools for learning a programming language out there. I’ve worked through several of your courses on TypeScript and the Modern JavaScript, SQL, and Regex courses as well. Can’t wait for this one.<p>Thanks for everything you do!
iwsk超过 1 年前
As a big fan of spaced repetition I appreciated your previous courses. Going through the python course right now.
ApolloRising超过 1 年前
For the beta python course is it supposed to be locked for everything other than the first step?
评论 #38306660 未加载
bb0wn超过 1 年前
Looking forward to trying this
greenie_beans超过 1 年前
excited to try this. i&#x27;ve learned a lot from your work. thanks!
terakuwasfree超过 1 年前
cool.<p>Was going 2 or will do something similar, but offline, actually in the terminal and monkeytype style, using textual&#x2F;rich and maybe add some hyper-terminal animations for gamification (whatever non-hyper-terminals are capable of).<p>feel free to beat me to it =] I know almost nothin about code, yet.<p>Will try to finish your beta in that 1 week cuz I&#x27;m poor (not a _complete_ beginner, though, I understand pointers!) and I promise to give well formulated and constructive feedback<p>&lt;3
preciousoo超过 1 年前
This is fun!
orliesaurus超过 1 年前
Can you learn elixir like that?