Live data from Hacker News

Teaching how to code is broken

neil.computer

11–20 of 258 posts

Re: Teaching how to code is broken

#11
Article seems to be complaining about the typical chapter layout for a reference book on a given programming language. Such books aren't intended to teach coding. The intended audience is those who already understand how to code, in a different language.

Re: Teaching how to code is broken

#13
post #5

I have opinions™, but mostly agree with this article. Most intro coding classes and course materials read more like a glossary than a lesson. This contributes (rather directly) to the failure to retain a diverse student base in intro CS program. We've gotten a lot better at recruiting CS students from underrepresented groups (women and BIPOC chiefly), but numbers drop off quickly[1]. Studies in math education have sh…

This comment covered several hot topics.

1. Girls in STEM: society needs to quit telling people "math is hard, tee hee" and quit shopping in the Pink Aisle at the toy store and reinforcing that culture. Buy your kids Lego and Raspberry Pi circuit kits and see what happens.

2. CS is part coding, part science of algorithms, and part software engineering. We have to quit intertwingling all terms into the catchall "CS" bucket because sometimes "how to run excel" gets thrown in there too. Maybe best to drop the term altogether and use more descriptive names for each study.

Re: Teaching how to code is broken

#16

Article seems to be complaining about the typical chapter layout for a reference book on a given programming language. Such books aren't intended to teach coding. The intended audience is those who already understand how to code, in a different language.

Basically, every YT tutorial is exactly like the Chapters listed. Corey to Sentdex, or pick your favorite "How to code" book from Amazon. It is quite rare to find a book that the article describes (use-case based learning). Can you share a few if you know?

Re: Teaching how to code is broken

#17
I have always struggled with how to advise my friends & family on this path of learning. It seems like everyone wants to be a WFH developer these days, but I don't know how to enable them to succeed on that path. "Go build something you want to build!" is something I keep reiterating (as does this article). But most don't seem to be interested in that for whatever reason (presumably because its fucking hard).

Maybe I should just leave it at that - I am getting to a point where if someone doesn't have the willpower to go burn a whole weekend on a pile of bullshit that won't even compile (i.e. because they really want to solve some problem), then maybe they won't have the necessary pain tolerance required to truly master the skillset.

Re: Teaching how to code is broken

#18
An "Intro to Logic" (Pseudocode) class was required at my university before you could move on to any of the actual programming courses. It was a glorified linear programming course - think BASIC or BATCH with a bunch of jumps and goto's.

Re: Teaching how to code is broken

#19
(Disclosure: I do corporate training (Python and Data Science) for a living.)

I generally don't teach coding to newbies, so a lot of the coding I teach is correcting poor mental models and teaching features (somewhat) unique (or different) in Python.

My best Pandas courses have been when the client opts to use their data for the course (instead of my canned data). The students are already subject matter experts with the data and when they learn some of the tricks to slice and dice, summarize, and visualize, they are off to the races. They dig right in.

Teaching as the article suggests is very difficult because examples that appeal to some or boring or confusing to others. I'm not saying it won't work, but there are cons as well. When I'm teaching with my "canned data", I try to mix in a few different datasets from different areas so students can see that the ideas are generally adaptable.

Re: Teaching how to code is broken

#20

When I was in junior high school in the 90s in my computer science class we learned Pascal by programming our own Light Cycles clone. Everything we learned was in service of making our game work. And we each came up with different solutions to accomplish the same things, and learned from each other. This article seems to imply this isn't how things are done now, but surely they still are by most?

Similar for me. Even though I had already been programming on my own, my first school-led programming classes were with done with Logo, then Apple Basic, then Pascal, always used to build specific and simple programs. I never had an intro class start with types.
Post reply on HN