|
|
|
Ask HN: How to help someone learn to code?
|
|
6 points
by mxab
2493 days ago
|
|
My girlfriend is currently struggling with some courses that require a basic understanding of how to write code. It's not so much that she can't learn the syntax of whatever language is used, her difficulties start at a lower level, i.e. at what one might call algorithmic thinking. I'm having a hard time helping and explaining these things to her, so I was wondering whether someone here knows some literature or MOOCs or tricks or whatever that focuses on teaching total beginners, ideally in a language-agnostic way. Thanks for any help! |
|
From there, we started talking about simple circuits/gates like AND, OR, etc. Then we started talking binary (and other bases), then binary arithmetic. At the end, I went over how integers are stored from a high level (and integer overflow for fun :) ).
There really wasn't a super high-level plan, but exposure to these topics I felt was a great intro to the mindset and we had good fun/progression during the session. From here, with booleans & integers as the foundation, I might feel comfortable writing pseudo-code and such with them, slowly bringing the abstraction higher.