Ask HN: How to help someone learn to code?
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!
5 comments
[ 3.0 ms ] story [ 26.5 ms ] threadFrom 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.
If she's looking for something a little less intense, MIT's Intro to Programming w/ EdX is also a great way to learn more about problem solving, and since it's in python it's a little more approachable.
Both are free and online, and I highly recommend either of them.