| Sign In/My Account | View Cart |
| Article: |
Rethinking the Java Curriculum: Goodbye, HelloWorld! | |
| Subject: | Don't have them write the whole app | |
| Date: | 2002-08-21 12:33:20 | |
| From: | cmoyer | |
|
Well, a simple way to avoid the "main" issue and present them with something interesting to do is to provide them with a harness for objects they create.
|
||
Showing messages 1 through 3 of 3.
Robocode (robocode.alphaworks.ibm.com) where java classes compete battlebots-style has the right idea. Unfortunately the current implementation encourages many bad habits and introduces too many concepts tangential to basic programming skills.
Something simpler like Logo in Java would let students learn basic concepts while making pretty pictures - far more stimulating feedback than standard out provides.
Utilizing XP principles you can create self-marking activities with JUnit. The students must make each test pass in sequence giving immediate feedback and breaking tasks up into manageable chunks.