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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Teaching Kids Java Programming

10 点作者 TheKickOff超过 10 年前

7 条评论

debacle超过 10 年前
&gt; In my original book for kids I used the Eclipse IDE, but for the new book I’ve chosen IntelliJ IDEA Community Edition, which is also available for free.<p>I think there is a fundamental problem with learning your language if your choice in IDE is a real factor in your learning.<p>&gt; But no worries, kids won’t need to learn to write FXML manually - they just drag and drop UI controls on a canvas and Scene Builder generates the FXML.<p>Are you really teaching them programming at this point?<p>The provided example jumps wildly from really basic things (and inaccurate imagery: <a href="http://www.infoq.com/resource/articles/Teaching-Kids-Java/en/resources/2.png" rel="nofollow">http:&#x2F;&#x2F;www.infoq.com&#x2F;resource&#x2F;articles&#x2F;Teaching-Kids-Java&#x2F;en...</a>). Inheritance is glossed over even though it&#x27;s probably one of the most important concepts in Java next to interfaces. I spot one paragraph trying to define six vocabulary words and in the very next paragraph you&#x27;re talking about memory models.<p>You finish up the first excerpt with a really poor analogy about manufacturing computer games.<p>The second excerpt is almost entirely about things that aren&#x27;t really programming.<p>I popped open the edits and in chapter 10 you actually tell kids to <i>go to StackOverflow</i> if they have problems. This is definitely a book about Java, but I see very little programming.
评论 #8785774 未加载
carsongross超过 10 年前
If java had a program notion, that&#x27;d help a lot.<p><pre><code> class MyMain { public static void main(String[] args) { System.out.println( &quot;Hello World&quot; ) } } </code></pre> How many unnecessary concepts are there between the beginner and something interesting happening? I count at least six...
评论 #8785164 未加载
ejk314超过 10 年前
I tutor high school kids, and I&#x27;ve been charged with the weighty responsibility of teaching them Java in often-missed weekly 45 minute lessons. I&#x27;m not sure if it&#x27;s what I&#x27;d choose for a first language, for a number of reasons. But the AP Computer Science test still uses Java (for now) and that&#x27;s what I&#x27;ve been told to teach to.<p>I think any IDE more complicated than Dr. Java is too much of a learning curve for a high schooler, who&#x27;s already struggling with their first language. This guy, expecting kids to learn all these libraries and use IntelliJ right off the bat... has he ever actually taught kids?
评论 #8786578 未加载
sytelus超过 10 年前
First programming language should be simple but not simpler. Java&#x2F;C&#x2F;C# has too many complexities to be first programming language for 12 years old, IMO, and carries a risk to actually turn away kids from programming. It&#x27;s like teaching them how gravity works with equations involving calculus. Why do you even need a &quot;class&quot; keyword to create a simple program to sum first 100 numbers? You want to remove everything from a language until just bare minimum Turing complete syntax is left. Also curly braces needs to go to keep things simple.<p>From this perspective nothing beats BASIC. Python may come distant second. Some people have advocated Scheme but I&#x27;m not too sure because there is a quite a bit of friction involved as tasks become more complex. I&#x27;m also not in favor of drag-and-drop so called &quot;visual&quot; programming languages. It is extremely important to learn composibility and currently nothing seems to be better medium than text to express it. Gifted kids sure will have no problem learning programming from whatever language you give them but our goal should be eliminate as much technological friction as possible to make programming accessible to <i>any</i> kid who wants to learn it.
评论 #8785624 未加载
评论 #8785684 未加载
Immortalin超过 10 年前
Visual Basic is still the best. Winforms is much more intuitive than JavaFX. Teach them vba first so they can actually use programming for automating their lives before moving on to VB.Net. If possible, skip the OOP crap entirely and teach them to use modules instead. They only need to know the bare basics of OOP e.g. The concept of &quot;self&quot; etc. Teaching them the benefits of lambada early on would be very useful. Now if only clojure&#x2F;Go had a better IDE and GUI designer...
评论 #8788696 未加载
markuz超过 10 年前
oh god, why ?
productcontrol超过 10 年前
We banned sending kids up chimnies, we banned sending them down into the mines, but we missed the gross evil of rotting their brains with java. Just two dollars a day can help rescue these kids from a life in eclipse or netbeans and show them a world outside. Donate today - some poor souls are already on their first proxyFactoryImplementation classes and need your help right now!