最初的问题

我目前正在教我弟弟编程。他完全是个初学者,但很聪明。(他真的很想学)。我注意到我们的一些会议陷入了一些小细节,我觉得我不是很有条理。(但这篇文章的答案有很大帮助。)

我怎样才能更好地有效地教他?是否有一个逻辑顺序,我可以用一个概念一个概念地运行?是否有什么复杂的问题我应该在以后再讨论?

我们正在使用的语言是Python,但任何语言的建议都是受欢迎的。


如何提供帮助

如果你有好的答案,请在你的答案中添加以下内容:

初级练习和项目想法 初学者教学资源 屏幕视频/博客文章/免费电子书 印刷适合初学者的书籍

请用链接描述资源,以便我可以看一看。我想让每个人都知道,我确实在使用其中的一些想法。你提交的内容将在这篇文章中汇总。


初学者在线教学资源:

A Gentle Introduction to Programming Using Python How to Think Like a Computer Scientist Alice: a 3d program for beginners Scratch (A system to develop programming skills) How To Design Programs Structure and Interpretation of Computer Programs Learn To Program Robert Read's How To Be a Programmer Microsoft XNA Spawning the Next Generation of Hackers COMP1917 Higher Computing lectures by Richard Buckland (requires iTunes) Dive into Python Python Wikibook Project Euler - sample problems (mostly mathematical) pygame - an easy python library for creating games Invent Your Own Computer Games With Python Foundations of Programming for a next step beyond basics. Squeak by Example Snake Wrangling For Kids (It's not just for kids!)


推荐印刷书籍的教学初学者

加速c++ Python编程绝对初学者 Charles Petzold编写的代码 Python编程:计算机科学介绍第二版


当前回答

这是一本很棒的书,我的小弟弟们曾经学过:

http://pine.fm/LearnToProgram/

当然,最重要的是在读完这本书之后立即开始一个真正有用的程序。

其他回答

Python is easy for new developers to learn. You don't get tangled up in the specifics of memory management and type definition. Dive Into Python is a good beginners guide to python programming. When my sister wanted to learn programing I pointed her to the "Head Start" line of books which she found very easy to read and understand. I find it's hard to just start teaching someone because you don't have a lexicon to use with them. First have him read a few books or tutorials and ask you for questions. From there you can assign projects and grade them. I find it hard to teach programming because I learned it over nearly 15 years of tinkering around.

我认为Python是一种非常好的开始语言::-)

我建议你试试http://www.pythonchallenge.com/

它就像一个小冒险,每个解决方案都将你链接到一个新的好问题。

解决问题后,你可以进入一个不错的论坛,讨论你的代码,并看到其他人创建了什么。

你可以试试爱丽丝。这是一个为编程入门课程设计的3D程序。

对于新程序员来说,最大的两个障碍通常是:

语法错误 动机(写一些有意义和有趣的东西而不是做作的)

Alice使用拖放界面来构造程序,避免了语法错误的可能性。Alice允许你构建3D世界,让你的代码控制(简单的)3D角色和动画,这通常比实现链表有趣得多。

有经验的程序员可能会把Alice当作玩具,嘲笑拖放代码行,但研究表明这种方法是有效的。

免责声明:我为Alice工作过。

There have already been a bunch of great answers, but for an absolute beginner, I would wholeheartedly recommend Hackety Hack. It was created by the unreasonably prolific why_the_lucky_stiff specifically to provide a BASIC/LOGO/Pascal-like environment for new programmers to experiment in. It's essentially a slick Ruby IDE with some great libraries (flash video, IM, web server) and interactive lessons. It makes a good pitch for programming, as it chose lessons that do fun, useful things. "Hello, world" may not impress right off the bat, but creating a custom IM client in 20 minutes can inspire someone to keep learning. Have fun!

试着在网上找一份《Why’s (Poignant) Guide to Ruby》。原来的网站是离线的,但我相信有一些镜像在那里。它不是典型的编程指南;它为学习一门可能适合你朋友的新语言提供了独特(和有趣)的视角。更不用说,Ruby是一种很好的学习语言。