15.04.2018 Views

programming-for-dummies

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

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

Figuring Out Programming 17<br />

As a general rule, if you want to make <strong>programming</strong> easy where speed and<br />

efficiency aren’t that crucial, use a high-level <strong>programming</strong> language. If you<br />

want to make a small and fast program and don’t care how inconvenient it<br />

may be to write it, use machine or assembly language.<br />

What if you want to write a big and fast program (like an operating system or<br />

word processor) and also make it convenient <strong>for</strong> you to write? You’d use the<br />

C <strong>programming</strong> language.<br />

Ultimately, no one cares what language you use just as long as your program<br />

works. A program that works is far better than a small, fast, and efficient program<br />

that doesn’t work. Think of a <strong>programming</strong> language as a tool. A good<br />

programmer can use any tool well, but a bad programmer can screw up<br />

using the best tool in the world.<br />

Book I<br />

Chapter 1<br />

Getting Started<br />

Programming a<br />

Computer<br />

The programmer’s skill always determines the quality of any program; the<br />

type of <strong>programming</strong> language used is always secondary. So the goal isn’t to<br />

become a “C programmer” or a “FORTRAN programmer.” The goal is to<br />

become a good programmer, regardless of the language you ultimately use.<br />

Figuring Out Programming<br />

After you understand that <strong>programming</strong> is nothing more than telling a computer<br />

how to solve a problem, you may wonder how you can get started figuring<br />

out <strong>programming</strong> on your own. If you want to figure out how to<br />

program a computer, this is what you need:<br />

✦ Desire<br />

✦ A computer<br />

✦ An editor<br />

✦ An assembler or a compiler<br />

✦ A lot of time on your hands<br />

Discover more about <strong>programming</strong> tools, like an editor and a compiler, in<br />

Book I, Chapter 4.<br />

Desire beats technical training every time<br />

Desire is probably the biggest factor in studying how to program a computer.<br />

Many people think that you need a college degree or a mathematical background<br />

to know computer <strong>programming</strong>. Although a college degree and a<br />

mathematical background can definitely help, it’s not necessary. Saying you<br />

need to know math be<strong>for</strong>e figuring out computer <strong>programming</strong> is like saying<br />

you need a college degree in biology be<strong>for</strong>e you can reproduce.

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

Saved successfully!

Ooh no, something went wrong!