Live data from Hacker News

Ask HN: Learning to code, without a computer?

news.ycombinator.com

61–70 of 194 posts

Re: Ask HN: Learning to code, without a computer?

#61
I used to write BASIC programs on paper as a child before I had access to a computer.

There are plenty of algorithms you can learn without a computer too, and carry out on paper.

I have no idea what kind of things are allowed in prisons - would a microcontroller running a simple interpreter coupled with a small LCD and keypad be allowed? If so, something like that would be really great for applying programming concepts.

Re: Ask HN: Learning to code, without a computer?

#62
Depends on where he is incarcerated there may be options available and if not he should find ways to bring them to the prison.

1) Edovo is a tablet learning solution that is in many jails (https://edovo.com/)

2) Another group The Last Mile, while they got their start in San Quentin, is working to bring their program/model to more prisons. https://thelastmile.org/

Regardless, I would encourage reaching out to either program to explore their options further. The people behind each are incredibly helpful and may be able to assist you with additional details.

Re: Ask HN: Learning to code, without a computer?

#63

I used to write BASIC programs on paper as a child before I had access to a computer. There are plenty of algorithms you can learn without a computer too, and carry out on paper. I have no idea what kind of things are allowed in prisons - would a microcontroller running a simple interpreter coupled with a small LCD and keypad be allowed? If so, something like that would be really great for applying programming concep…

As a teenager, my dad confiscated my laptop in the run-up to exams. Unperturbed, I wrote pages & pages of BASIC by hand, though I unfortunately never got around to typing them up...

Re: Ask HN: Learning to code, without a computer?

#66

What is the most capable programmable device, that would not be considered a computer by the rules? How about a graphical calculator like a TI-83? While I was stuck in school and did not have access to a computer, I wanted to challenge myself during classes. The most interesting distraction by far was to play around with the programming functions of my TI-82 calculator that was required for math classes. Even with al…

I don't get why people continue to recommend TI-83s. I showed up to Algebra II with an 85, but 83s were weirdly prevalent until calculus "strongly recommended" TI-89s.

In this context, the 83 is an awful, awful choice, because TI-83 programs only allow for variable names to be one character long. I was lucky, when someone asked me to copy my TI-85 blackjack program into their TI-83, that I had used less than 28 variables.

Re: Ask HN: Learning to code, without a computer?

#67

I came across CS unplugged a while ago. Looks like it might be useful http://csunplugged.org/

I have to heavily stress the appropriateness of Computer Science Unplugged. While technically oriented toward younger students, it's absolutely appropriate for an older adult learner without a computer. If he can learn the material in CS Unplugged front and back, and understand it perfectly, he'll be very well placed for starting a career in programming when he gets out. Many programmer interviews are based on the materials that this book covers.

And it's just a book, and all exercises in it can (and should) be done with no computer.

Once he works through this, send him a copy of SICP: https://mitpress.mit.edu/sicp/ Covers some of the same material at a much higher level, and more.

Re: Ask HN: Learning to code, without a computer?

#68
Me :)

I'm 'fighting' ('working' is a better definition) for civil rights in my city, so I think I will be incarcerated in the future...

I think I will organize a 'paper' version of Scratch, with me as an interpreter of lines of code.

edit: I'll miss Stallman's videos...

Re: Ask HN: Learning to code, without a computer?

#69
post #68

Me :) I'm 'fighting' ('working' is a better definition) for civil rights in my city, so I think I will be incarcerated in the future... I think I will organize a 'paper' version of Scratch, with me as an interpreter of lines of code. edit: I'll miss Stallman's videos...

If you're being incarcerated for advocating civil rights, then you're doing it wrong. There are plenty of ways to affect change without committing a crime.

Re: Ask HN: Learning to code, without a computer?

#70
post #23

I'd recommend he read the "structure and interpretation of computer programs". It's written for audience who would, at the time, have found programming novel, but would be at home with math. Hence it's written in a language that allows you to expand out the program by pencil and paper, much the same way you would simplify an equation, to see if it works. Also the following books, which I've copied and pasted from som…

Similar to SICP, I'd recommend "How to Design Programs" (2nd ed.) [1]. It describes an "algebra of data" using Racket [2] (a modern lisp) as the vehicle.

[1] http://www.ccs.neu.edu/home/matthias/HtDP2e/index.html [2] https://docs.racket-lang.org/racket-cheat/index.html

Post reply on HN