TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Please help me teach CS to a HS student from a very different background

11 点作者 ahsanhilal将近 11 年前
Hey Everyone, I am teaching CS to a student from an interventionist high school in one of the poorest urban neighborhoods, who has foster parents which nag him at home and who is in a constant battle to ward off bad influences (drugs, alcohol etc) in his neighborhood. He is definitely motivated and talented, and is in ok academic standing. I am trying to get teach him basic concepts of CS&#x2F;web programming through the summer, and hopefully continue on through the school year. In order to teach him CS, his teachers and I devised a plan of getting him an internship at my company. The reason for that is to have him work mostly during school hours at the school building so that he does not have any distractions since we are not located in the same city. We communicate through hangouts, chats, messages etc throughout the day, so location hasn&#x27;t been an issue as of yet.<p>I would really like recommendations from the community about which curriculum and coursework they have used in teaching high school students CS. In particular, I am really interested in learning what specific curriculum paths some of you have used in the past and what online resources you have used to achieve that. My thoughts on an 8-week curriculum are the following:&lt;p&gt;1. HTML&#x2F;CSS for 1.5 weeks 2. Javascript 2-3 weeks 3. Setup environment 2 days 4. Make a webpage 1 week 5. Jquery 1 week 6. Intro to Python 1 week The reason this is important to get right, is that the teachers and I really want to show other students in the school how programming can enable them to create something and change their lives. There are thousands of resources on the internet but most of these students never choose to learn CS and do not have any inclination to. We are hoping to change that bit by bit. Hopefully it works.

11 条评论

raphaelrk将近 11 年前
Might I recommend processing.js? It&#x27;s got a very shallow learning curve even to first-time programmers, there&#x27;s plenty of support for it, it requires little setup, and lets you create visual applications immediately. If you use <a href="https://www.khanacademy.org/computing/cs" rel="nofollow">https:&#x2F;&#x2F;www.khanacademy.org&#x2F;computing&#x2F;cs</a>, KhanAcademy&#x27;s processing.js curriculum&#x2F;editor, you&#x27;ll have no setup, documentation, and lots of examples to look off of. I&#x27;ve been using it for a while now and suggest it to most first-time programmers because of how easy it makes it to get into programming and start building things immediately. Not that a big name necessarily means anything, but John Resig, creator of jQuery, created processing.js and is an employee of KhanAcademy, writing their editor.
评论 #8006040 未加载
评论 #8007790 未加载
krrishd将近 11 年前
One thing I&#x27;d say is that for the first week, don&#x27;t go too deep into theory or even syntax. Have him work with tools like MIT&#x27;s Scratch or Scirra&#x27;s Construct to build games and in the process, learn how to think in a programmatic manner. Then, once he&#x27;s interested and hooked, take him through your planned curriculum.<p>Source: I&#x27;m a 16 year old who got hooked on to programming a while ago.
评论 #8006030 未加载
Kushal_C将近 11 年前
As a high school student myself I found the odin project to be an incredible resource. I&#x27;m currently working through their curriculum(it&#x27;s incredibly thorough), and it goes from basic css and html to java script, j query and rails. <a href="http://www.theodinproject.com/" rel="nofollow">http:&#x2F;&#x2F;www.theodinproject.com&#x2F;</a>
aarohmankad将近 11 年前
One thing I don&#x27;t think enough courses teach is how to actually get your code online. I suggest using Github Pages. Maybe get them into using some form of source control for their projects?
评论 #8006307 未加载
评论 #8006374 未加载
jason_slack将近 11 年前
I think I have a spare older Lenovo Thinkpad T60 (?) The battery doesn&#x27;t work, 1gb RAM, Wireless, 80gb HD. I could give it to a good cause :-)
评论 #8006384 未加载
brudgers将近 11 年前
This class on Coursera is likely to engage a young person.<p><a href="https://www.coursera.org/course/digitalmedia" rel="nofollow">https:&#x2F;&#x2F;www.coursera.org&#x2F;course&#x2F;digitalmedia</a><p>In my opinion it&#x27;s better to use the work product of seasoned professionals than that of even the most well intentioned amateurs. There are 10x teachers. There are 100x curricula. Being smart isn&#x27;t expertise.<p>Good luck.
tzhong将近 11 年前
Some resources you can check out are The Odin Project (full online curriculum), BentoBox, CodeSchool, Codecademy, and Treehouse.
评论 #8006088 未加载
rnirnber将近 11 年前
this is the cutest story ever. i dont have any advice but want to say that what you&#x27;re doing is really amazing &lt;3
jonhmchan将近 11 年前
I&#x27;m the creator of Bento (<a href="http://bentobox.io/" rel="nofollow">http:&#x2F;&#x2F;bentobox.io&#x2F;</a>). I think Bento can help - all the resources there are free and curated by developers. Follow the track left to right, top to bottom.<p>Please reach out if you need any help @jonhmchan
评论 #8010379 未加载
mikeshi42将近 11 年前
I teach a 7 week course (it&#x27;s only on weekends and 3 hours each day). I&#x27;m not 100% sure of how effective my teaching has been, based on my student&#x27;s feedback they all really enjoy the course even when I&#x27;m pushing at a very rigorous pace. (All my students have almost no programming background at all and the course is aimed to hopefully engage students to further pursue CS and have a solid foundation of knowledge to do so, not to teach theory anything too heavy).<p>I went through the basics of HTML on the first day, including most of the HTML tags (yeah even &lt;em&gt; and &lt;strong&gt;) and had them try to make a basic page out of that. Then I would review with them a bit of the tags the next day and then I&#x27;d move onto basic CSS (CSS Syntax, Block vs Inline, Basic Properties) and I have them improve their page. The second week I did more advanced CSS (positioning, CSS3, box model, etc.). The next day (day 4) I had them implement those new CSS properties into their page and had them make a nice button out of pure CSS and HTML and tried to guide them through breaking down a webpage. (I found that looking at a page and breaking it down into HTML structure isn&#x27;t as intuitive as it seems now). Third week I did intro to Javascript and jQuery. On the first day it was really basic control structures, console, debugging, etc. With that I had them make a &quot;conversation bot&quot; to where they used a bunch of if&#x2F;else&#x27;s to try to respond reasonable to user input. Then I moved on to jQuery introducing selectors and then .click() and .slideUp&#x2F;Down&#x2F;Toggle to create an animated menu. Now the fourth week we&#x27;re currently working on starting our imitation of FlappyBird. (Yes, we&#x27;re using HTML elements + jQuery, not a HTML Canvas). I think this is the most important part, making sure you&#x27;re able to apply the basic skills that I covered through the first 3 weeks into a practical application. At this point my focus is on asking the right questions to lead them to answers instead of telling them what to do. Since they should already know the foundations of web development, it&#x27;s more important that they know how to think like a programmer. I still lead them, giving them hints on which jQuery function to use. But a lot of the time I ask them to look at the jQuery documentation and tell me what we should do. I intentionally introduce half solutions to a problem and ask them why my solution wouldn&#x27;t work. As for the rest of the weeks, I&#x27;m planning to continue development and refinement and throughout it let them customize their game to use whatever images or arbitrary rules they decide to make. I hope this would help you a bit. As for resources, I wrote most of my own slides, following the path that a lot of other popular coding sites use. But I felt like some of it I could change to fit my students better and I wanted to be familiar with the curriculum I was teaching, instead of just using some pre-made curriculum. Of course I don&#x27;t think there&#x27;s anything wrong with the pre-made curriculum I guess that was more of a personal choice.<p>Full disclosure: I&#x27;m 17, so not sure how useful my experience would be.
评论 #8006355 未加载
wiseleo将近 11 年前
I consider background completely irrelevant. With sites like c9.io, he can have a coding environment in the cloud and access it from any web browser, including a random library computer.<p>What needs to happen is inspiration. If you can inspire someone to believe in himself and show how comparatively easy current technologies are, you should be able to ignite the self-sustaining desire to get better.<p>My approach would be to pick a funded company that resonates with him and clone it. There are plenty of them that can be cloned in a day. This will demonstrate that building software capable of attracting funding is not difficult and that becoming an engineer on such a team is easier than pursuing professional sports.<p>Once you decide on the target, systematically disassemble the site and discuss what makes it work.<p>Install git, setup a local repo and a repo on bitbucket, and instruct the student to &#x27;git commit&#x27; after substantial changes and &#x27;git push&#x27; every so often. It&#x27;s never too soon to introduce version control.<p>Starting with HTML, talk about DIVs and nothing else. There is no need to talk about other tags. Explain that DIVs are the building blocks and demonstrate a page built of just DIVs and no other tags. Fill it with Lorem and style with Bootstrap. Ignore AJAX until much later.<p>This will lead into CSS. Explain how CSS is used to style DIVs so each element looks different.<p>Now I would talk about Bootstrap and how it changed the way we build web apps.<p>Once CSS is a relatively clear concept, lead into jQuery but don&#x27;t talk about JavaScript in general. jQuery would be introduced as a way to interact with DOM.<p>JavaScript is a confusing language to learn as a first language. It may make sense to shift gears and talk about Ruby and Python, whichever one is more familiar.<p>By now, this person should be ready to learn about control structures, loops, and other basics of programming. It is difficult to get motivation to learn that without a reason to learn it.<p>I would introduce real programming by following the BDD methodology. Teach the student to write tests before talking about how to make them pass. It is so unusual that it should be intriguing. I am not familiar enough, as of this writing, whether Ruby or Python have a better integrated testing frameworks, but I will explore that in detail later.<p>Once the student has a solid understanding of Ruby or Python, I would only then introduce JavaScript and map the concepts from Ruby or Python to JavaScript. By now prototypal inheritance will not seem as alien and brackets and semicolons will be just extra things to type.<p>AJAX and oAuth as well as the concept of REST APIs would be next.<p>Finally, let&#x27;s go to the cutting edge and tie it all up with Meteor and Velocity testing. This will introduce nodejs, MongoDB and mobile app syncing.<p>Just say no to PHP. We thankfully have alternatives to it now.<p>As for books, I would advise the student to get a library card at a library that has access to either Safari Books Online or Books 24x7. He will then have access to the bulk of O&#x27;Reilly titles. I prefer the Headfirst series when getting started with a new language.<p>Little known fact: as a resident of the state you can get a library card from any library within that state and different libraries have different resources. This means he doesn&#x27;t have to be limited to whatever library is local to his community. I have 7 library cards.<p>Hmm... this might inspire me to produce a video course based on this outline and test how well this theory might work. Lean startup methodology applied to teaching could be interesting. Saving this post for reference. :)
评论 #8006754 未加载