15.01.2013 Views

Education in Programming David Gries Dr. rer ... - Cornell University

Education in Programming David Gries Dr. rer ... - Cornell University

Education in Programming David Gries Dr. rer ... - Cornell University

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Teach<strong>in</strong>g programm<strong>in</strong>g to beg<strong>in</strong>ners, us<strong>in</strong>g Java<br />

Intellectual honesty. Do not teach C or C++ to beg<strong>in</strong>ners, for these<br />

languages lack the simplicity and elegance required. In fact, these<br />

languages get <strong>in</strong> the way of programm<strong>in</strong>g.<br />

Issue: teach structure/organization (OO) first? Or algorithmic aspects?<br />

Pr<strong>in</strong>cipal: Def<strong>in</strong>e th<strong>in</strong>gs before you use them.<br />

S<strong>in</strong>ce almost every l<strong>in</strong>e of a Java program has to deal with an object or<br />

class, we are forced to teach OO ideas first.<br />

Use a programm<strong>in</strong>g environment that does not require a method ma<strong>in</strong><br />

—that is, a complete Java application.<br />

9<br />

9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!