Preview

A Comparison Programming Languages

Powerful Essays
Open Document
Open Document
1471 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
A Comparison Programming Languages
Today's computer programmer has many languages to choose from, but what's the difference between them? What are these languages used for? How can we categorize them in useful ways?

These days, programming languages are becoming more and more general and all-purpose, but they still have their specializations, and each language has its disadvantages and advantages.

Languages can generally be divided into a few basic types, though many languages support more than one programming style. This following list isn't all inclusive or as fine-grained as possible, but it brings out some of the basic design decisions behind languages.
Language Types
• Procedural
The programming style you're probably used to, procedural languages execute a sequence of statements that lead to a result. In essence, a procedural language expresses the procedure to be followed to solve a problem. Procedural languages typically use many variables and have heavy use of loops and other elements of "state", which distinguishes them from functional programming languages. Functions in procedural languages may modify variables or have other side effects (e.g., printing out information) other than the value that the function returns.
• Functional
Employing a programming style often contrasted with procedural programming, functional programs typically make little use of stored state, often eschewing loops in favor of recursive functions. The primary focus of functional programming is on the return values of functions, and side effects and other means storing state are strongly discouraged. For instance, in a pure functional language, if a function is called, it is expected that the function not modify any global variables or perform any output. It may, however, make recursive calls and change the parameters of those calls. Functional languages are often simpler syntactically and make it easier to work on abstract problems, but they can also be "further from the machine" in that their

You May Also Find These Documents Helpful

  • Good Essays

    Some similarities in these programs are that there are specific words you cannot use in each language. These words are generally reserved for some other part of the language and if the is not some kind of distinction between the words this will cause an error. Though these languages have minor similarities they differ in the same way, some are case sensitive while others are not. They also say that most variables should begin with a letter but in two of these programs they can begin with an underscore and in Java you can use a dollar sign as well. Another key difference is the length of the variable name, in Visual Basic you are limited to a length of 255 characters while the other two have no restrictions on length. So for each language there are minor similarities and differences but in order to program in any of these languages you must know these rules in order to prevent errors from…

    • 878 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Pt1420 Unit 7 Analysis

    • 737 Words
    • 3 Pages

    Each of these components is programmed in a specific language, for example, Perl, java. PHP, Python, Ruby, or Erlang. Almost every language supports web programming, Different syntax, and same semantics. Consequently, severer side developers have a tendency to solve every problem in her/his desired…

    • 737 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    EAS230Syllabus

    • 1748 Words
    • 8 Pages

    C++ programming: editing, compiling, user I/O, variables (ints, doubles, char, strings, booleans), loops, decisions, functions, pointers, arrays, tables, databases, sorting.…

    • 1748 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Unit 3 research

    • 383 Words
    • 2 Pages

    In a procedural language you tell the computer each step to perform. The computer performs those steps and, if they are well written, you will end up with our desired…

    • 383 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Programming and Logic

    • 294 Words
    • 2 Pages

    13. Writing a program in a language such as C++ or Java is known as coding the program.…

    • 294 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Computer programs are a form of language written out processes that carry out different tasks. Like human society there are different languages and different ways of speaking that language, the same goes for software design. There are three basic types of program design or language they are procedure driven, event driven, and data driven. Procedure driven is a specific step by step instruction written language that can be useful because it can be strongly structured. Event driven data is used for detecting events going on inside the computer such as keys being pressed, the mouse being clicked, or detecting outside input such as e-mail, messages, or alerts. Data driven programming can be confused with OOP Object Oriented program, the difference is that data driven structures the control operation of a program.…

    • 657 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Sql and Ruby

    • 386 Words
    • 2 Pages

    Java and C# are more or less in the same category and are multi-purpose languages…

    • 386 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Most popular general-purpose languages today, such as C, C++, C#, Java, BASIC and Pascal, are also third-generation languages, although each of these languages can be further subdivided into other categories based on other contemporary traits.…

    • 887 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Programming languages

    • 3681 Words
    • 13 Pages

    Essentially, a program tells the computer how to solve a specific problem. Because the world is full of problems, the number and variety of programs that people can write for computers is practically endless.…

    • 3681 Words
    • 13 Pages
    Powerful Essays
  • Good Essays

    Because writing programs in machine language is impractical (it is tedious and error prone), symbolic, or assembly, languages—second-generation languages—were introduced in the early 1950s. Assembly language turns the sequences of 0s and 1s into human words like 'add'. They use simple mnemonics such as A for “add” or M for “multiply,” which are translated into machine language by a computer program called an assembler. The resulting machine language programs, however, are specific to one type of computer and will usually not run on a computer with a different type of central processing unit (CPU).…

    • 782 Words
    • 4 Pages
    Good Essays
  • Good Essays

    The desire to use the power of information processing efficiently in problem solving has pushed the development of newer programming languages. The evolution of programming languages is typically discussed in terms of generation of languages. The first generation of Programming languages is machine language, which required the use of binary symbols (0s and 1s). Because this is the language of the CPU, text file that are translated into binary sets can be read by almost every computer system platform. Developers of programming languages attempted to overcome some of the difficulties inherent in machine language by replacing the binary digits with symbols that programmers could more easily understand. These second-generation languages use codes like A for add, MCV for move, and so on. Another term for these languages in assembly language, which comes from the programs (called assemblers) used to translate it into machine code. Systems software programs such as OSs and utility programs are often written in assembly languages.…

    • 452 Words
    • 2 Pages
    Good Essays
  • Better Essays

    Nørmark, K. (2010) Overview of the four main programming paradigms [Online] Denmark: Aalborg University. http://people.cs.aau.dk/~normark/prog3-03/html/notes/paradigms_themes-paradigm-overview-section.html (Accessed: 24 April 2013)…

    • 1055 Words
    • 5 Pages
    Better Essays
  • Powerful Essays

    Docx 1 To 5

    • 5880 Words
    • 20 Pages

    Department of Computer Studies – Lyceum of the Philippines University – Cavite Campus – Governor’s Drive, General Trias Cavite…

    • 5880 Words
    • 20 Pages
    Powerful Essays
  • Good Essays

    When it comes to writing a program there are so many ways a person can approach the problem. Think of it this way, a chef following a recipe can look at the ingredients and decided to add more of one thing and less of another or the chef can follow the recipe exactly. As long as the chef uses common logic on blending foods the dish will come out correctly. The same is true when building a program. A programmer has many tools to choose from to make it more or less complicated. The programmer also has several tools to choose from to ensure the program runs. So let me go over some of these essential tools right now and how they relate to one another.…

    • 779 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Microcontrollers are special purpose microprocessors that can be embedded in devices such as refrigerators, cars, and washing machines.…

    • 684 Words
    • 3 Pages
    Good Essays

Related Topics