Re:Want to learn to code? Don't copy and paste, type out oth...
by powdahound on Friday December 14, 2012 @02:26PM
(#4922752)
Similar story here, but in the late 90s. I used to print out TI-82 calculator apps/games and type them in by hand because my parents wouldn't buy the $60 connector cable. It was surprisingly fun. All my initial programming knowledge came from debugging the typos I had made.
Re:Want to learn to code? Don't copy and paste, type out oth...
by Lockyy on Friday December 14, 2012 @05:04PM
(#4923609)
This is pretty much how the book I'm using on Pygame is working. It's a load of games written in Pygame that the author encourages you to copy out and try to learn how it works yourself. Then afterwards he explains in detail how it all works.
The writing it really helps with learning how you can use the simple stuff together to make more complex stuff.
Re:Want to learn to code? Don't copy and paste, type out oth...
by cjg on Saturday December 15, 2012 @04:12AM
(#4924999)
Sure, I can relate to that. In the early eighties computer magazines had huge listings of code which I dutifully typed in.
They never worked worked first time as I'd invariably mistyped various characters, but the subsequent bug finding taught me about how the code worked.
The bonus was you got a playable game at the end of it.
Re:Want to learn to code? Don't copy and paste, type out oth...
by hammock on Friday December 14, 2012 @03:18PM
(#4923063)
You know what, this guy makes a good point to consider as well. http://news.ycombinator.com/item?id=4922853
For some reason, probably because I was a tiny kid learning a new thing, this tedious task was so much fun. And that's how I learned my first programming language. Never opened a single tut or instructional book.