15.04.2018 Views

programming-for-dummies

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

50<br />

Choosing Your First Language<br />

Sometimes there’s a good reason to know an obscure <strong>programming</strong> language.<br />

One of the oldest <strong>programming</strong> languages, COBOL, was heavily used by businesses<br />

back when computers filled entire rooms and cost tens of thousands of<br />

dollars. Because many COBOL programs are still running today, COBOL programmers<br />

can actually make a nice living because so few programmers know<br />

COBOL. So knowing an obscure language might limit your opportunities, but<br />

at the same time, if someone needs a programmer who knows a particular<br />

<strong>programming</strong> language, you could be the only one they could hire (and have<br />

to pay big bucks as a result).<br />

Choosing Your First Language<br />

So should you start studying BASIC or C as your first <strong>programming</strong> language?<br />

Yes and no, depending on who you ask.<br />

C the BASIC choices<br />

Here’s why you might consider studying either BASIC or C as your first <strong>programming</strong><br />

language.<br />

✦ Because BASIC and C are two of the most popular languages used, you<br />

need to know one (or both) of them eventually, so you might as well<br />

start understanding them right from the beginning.<br />

✦ BASIC was originally designed to teach <strong>programming</strong>, so understanding<br />

BASIC can be easy, fun, and fast.<br />

✦ By studying BASIC, you can focus on understanding <strong>programming</strong> principles<br />

without getting lost in the technical details of how a computer or<br />

operating system works, or learn confusing commands or cryptic syntax<br />

that can make <strong>programming</strong> harder than necessary.<br />

Understanding C can be important because so many <strong>programming</strong> languages<br />

(such as Java, C++, C#, and Perl) are based on the C language. So after you<br />

know C, you’ll have no trouble understanding Java, C++, or practically any<br />

other <strong>programming</strong> language based on C.<br />

With so many people using C (or languages like Java or C++, which are derived<br />

from C), any C programmer can find plenty of work, so knowing C is practically<br />

a necessity <strong>for</strong> anyone who wants to make a living as a programmer. Because<br />

you’ll probably need to know C eventually, you might as well start with C<br />

from the beginning.<br />

Having second thoughts<br />

Ultimately, there’s no “perfect” <strong>programming</strong> language to know and use<br />

because every <strong>programming</strong> language is designed to solve one problem

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

Saved successfully!

Ooh no, something went wrong!