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.

Choosing Your First Language 51<br />

extremely well (and hopefully prove useful enough to solve other problems,<br />

too). BASIC was designed to be easy to understand. C was designed to create<br />

efficient and powerful programs.<br />

Book I<br />

Chapter 3<br />

BASICally disrespected<br />

From a financial point of view, BASIC programmers usually earn less than C<br />

programmers, even if they’re doing the exact same job. Part of the reason <strong>for</strong><br />

this is that BASIC suffers from the perception that it’s a toy language — unsuitable<br />

<strong>for</strong> commercial use. Although that was true at one time, the BASIC language<br />

has evolved to the point where it can do practically anything C or other languages<br />

can do.<br />

Types of<br />

Programming<br />

Languages<br />

Although you can use BASIC to create anything from satellite navigation<br />

systems to Wall Street financial trading programs, BASIC programmers will<br />

probably always get paid less, so you’ll need to know another language like C<br />

anyway, just to get paid more. Because BASIC programmers tend to get paid<br />

less than other programmers, many programmers feel that they might as well<br />

skip BASIC and just figure out C instead.<br />

C, it’s kinda hard<br />

There’s nothing wrong with studying C as your first <strong>programming</strong> language.<br />

The biggest problem with C is that it’s not an intuitive language <strong>for</strong> beginners<br />

to learn and understand. With its cryptic syntax and odd use of symbols in<br />

place of actual words, understanding C means trying to figure out how to program<br />

while also wrestling with trying to figure out C, which essentially doubles<br />

the ef<strong>for</strong>t needed to know how to program a computer.<br />

As a result, many beginners get frustrated with C as their first <strong>programming</strong><br />

language and wind up more confused than ever. Imagine how many people<br />

would want to drive a car if it meant knowing how to refine their own gasoline<br />

and build their own engine. Understanding C isn’t quite as difficult as refining<br />

gasoline or building a combustion engine, but it can seem that way, especially<br />

when you’re <strong>programming</strong> <strong>for</strong> the first time and you start with the C language.<br />

So if you’re going to begin <strong>programming</strong>, you should definitely understand C<br />

eventually, but not necessarily as a first language. You don’t need to know<br />

BASIC, but BASIC can definitely help you understand how <strong>programming</strong><br />

works. If you figure out BASIC first and then figure out C, you’ll know two of<br />

the most popular languages on the planet.<br />

The more <strong>programming</strong> languages you know, the better you can understand<br />

the benefits and drawbacks of all <strong>programming</strong> languages, including favorites<br />

like BASIC and C. Ultimately, the best <strong>programming</strong> language to discover first<br />

is the language that makes <strong>programming</strong> easiest and fun <strong>for</strong> you, whether<br />

that language is as simple as BASIC, as arcane as assembly language, or as<br />

obscure as SNOBOL.

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

Saved successfully!

Ooh no, something went wrong!