TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to teach/learn advanced programming?

6 pointsby aaossaover 8 years ago
Hi HN,<p>How did you learn advanced programming? What&#x27;s the way to teach programming? You can assume an Introduction to Programming course is required to enroll in this course.<p>This semester we used: a large homework every 2-3 weeks and a short assignment in class every week (in random groups of 2). At the end of the semester we&#x27;ll have a written exam.<p>Language: Python Contents: OOP (and modeling), basic Data Structures, Functional programming (map, reduce, filter, lambdas, generators), meta programming, exceptions, testing, threading, PyQt, I&#x2F;O, Networking, Webservices and Regex<p>PS: I&#x27;m not teaching this course, but I&#x27;m a TA<p>Thanks!

2 comments

wayn3over 8 years ago
If you want to teach all these things in a single semester, you teach a whole lot of nothing.<p>How deep can you even go per topic beyond mentioning that it exists?<p>The &quot;topics&quot; you listed are all 1-2 semester courses individually.<p>I&#x27;d like to see your 2 weeks on networking. What are you going to teach there? &quot;Hey guys the web exists there are webservers and an http protocol, btw you can boot up a webserver by writing python -m SimpleHttpServer ok thats it see ya next week for our lecture on regex&quot;?<p>Please don&#x27;t pretend you&#x27;re ever going to mention sockets. That&#x27;s just not enough time.
评论 #12922106 未加载
itamarstover 8 years ago
Most programming classes suffer from teaching everything in the abstract: isolated code. In contrast in real world programming there&#x27;s usually an existing code base you&#x27;re working on.<p>Never tried this, but what if teaching was more like real world? Given an existing code base the students would have more context for <i>why</i> the code does what it does, and get a more holistic view of coding techniques.