Читать книгу Beginning Programming All-in-One For Dummies - Wallace Wang - Страница 78

Comparing Programming Languages

Оглавление

With so many different programming languages available, the question isn’t “Which programming language should I study and use?” Instead, the real question is “How can I become a better programmer and choose the best language for solving a particular problem?”

Programming languages just offer different ways to express your ideas, and depending on what you need to accomplish, sometimes a language like C++ is best and sometimes another language like LISP may be better. The goal is to choose the best language for the job.

Unfortunately, it’s impossible to know and master every programming language, so it’s usually best to focus on mastering two or three languages instead. The more you know about using a particular language, the faster and more efficient you can write programs in that language.

A mediocre programmer using a programming language designed for a specific job is likely more efficient than an expert programmer using an inappropriate language for that same job. Assembly language might create the fastest and most efficient programs, but if you need to write a program quickly and you don’t care about efficiency, a scripting language like JavaScript may be much easier, faster, and less buggy. Sometimes, a program that gets the job done now is preferable to a program that works ten times as fast but takes a million times longer to write.

Beginning Programming All-in-One For Dummies

Подняться наверх