19.04.2017 Views

Learn to Program with Small Basic

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

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

Foreword<br />

Computer programming is magical. <strong>Program</strong>mers<br />

make computers come <strong>to</strong> life, and <strong>with</strong> the right <strong>to</strong>ols,<br />

the possibilities are limitless. But even <strong>to</strong>day’s skilled<br />

programmers started <strong>with</strong> something very small and<br />

simple.<br />

I have often wondered what exactly makes programming exciting.<br />

The answer, I think, is how even tiny programs can make things happen<br />

instantly. When I was twelve, I was introduced <strong>to</strong> BASIC for the first time.<br />

The sheer simplicity of it struck me. It was inviting, not intimidating. And<br />

at the time, BASIC was everywhere—it had taken the new world of microcomputers<br />

by s<strong>to</strong>rm.<br />

My first program worked flawlessly and gave me the instant gratification<br />

that kept me wanting <strong>to</strong> do more. This is what it looked like:<br />

10 PRINT "Hello"<br />

20 GOTO 10

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

Saved successfully!

Ooh no, something went wrong!