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.

Why are code tutorials so terrible

8 pointsby highiquserover 10 years ago
Do the people who write the tutorials actually consult with the people who want to use the code? It is like every time I want to code something simple, the guides always have tons of superfluous stuff. Most end users have simple needs, so have tutorials for those. Consult end users and ask them what they want.

5 comments

jarcaneover 10 years ago
I think the fundamental problem with teaching code is that teaching code is not math, it&#x27;s language, and language is quickly internalized once you &#x27;get&#x27; it.<p>Most of the people who write books and web tutorials teaching code already know the code, but don&#x27;t realize the extent to which they&#x27;ve internalized a large amount of understanding of the subject. So what makes perfect sense to them either gets dropped on the table without explanation, or struggles to actually give a clear <i>why</i> of the thing. Being able to recognize that, and explain those things clearly, is a very specific skill in programming just as it is in language, and just as sometimes language classes get given to someone who just happens to speak the language rather than who is a linguist, you will often find someone who speaks, say, Java or C++, but can&#x27;t necessarily explain clearly <i>why</i> or <i>how</i> the patterns and techniques they&#x27;ve internalized work.<p>I&#x27;m increasingly a believer in more interactive methods of code teaching, because I think like language it&#x27;s a subject that requires immediate practice to facilitate that internalization. Exercises like the Codecademy courses, or the Koans, which pair explanation with specific examples, immediate practice with new concepts, and equally immediate feedback about failures&#x2F;successes, do a far better job of teaching a language than anything else I have seen.
singoldover 10 years ago
I think that sometimes the devs writing the tutorials, didn&#x27;t bothered trying out the tutorial themselves, so there are little errors that are huge for beginners.<p>I&#x27;ve seen this in tutorials, but also in open source project&#x27;s documentation
Randgaltover 10 years ago
Tech writing is a specialty. It&#x27;s a different skill set than coding. Unfortunately, it&#x27;s the devs who write the docs these days and they&#x27;re not usually good at it.
wturnerover 10 years ago
I was thinking about how it would be kind of nice if their was an official equivalent of a W3C guideline list for teaching programming. Simple things like &quot;start with a working script that your student can experiment with which includes no unnecessary code. Then work backwards to explain how the code works.&quot;
jhwhiteover 10 years ago
I think it depends on the tutorial. Michael Hart&#x27;s Ruby on Rails tutorial is pretty awesome.