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.

Comparing Programming Languages 81<br />

Comparing Programming Languages<br />

With so many different <strong>programming</strong> languages available, the real question<br />

isn’t “Which <strong>programming</strong> language should I study and use?” Instead, the<br />

real question you should ask is “How can I become a better programmer and<br />

choose the best language <strong>for</strong> solving a particular problem?”<br />

Programming languages just offer different ways to express your ideas, and<br />

depending on what you need to accomplish, sometimes a language like C++<br />

is best and sometimes another language like LISP might be better. The goal is<br />

to choose the best language <strong>for</strong> the job.<br />

Book I<br />

Chapter 3<br />

Types of<br />

Programming<br />

Languages<br />

Un<strong>for</strong>tunately, it’s impossible to know and master every <strong>programming</strong> language,<br />

so it’s usually best to focus on mastering two or three languages<br />

instead. The more you know about using a particular language, the faster<br />

and more efficient you can write programs in that language.<br />

A mediocre programmer using a <strong>programming</strong> language designed <strong>for</strong> a particular<br />

job is likely more efficient than an expert programmer using an inappropriate<br />

language <strong>for</strong> that same job. Assembly language might create the fastest and<br />

most efficient programs, but if you need to write a program quickly and you<br />

don’t care about efficiency, a scripting language like Perl might be much easier<br />

and faster. Sometimes, a program that gets the job done now is preferable to a<br />

program that works ten times as fast but takes a million times longer to write.

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

Saved successfully!

Ooh no, something went wrong!