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

    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
  • 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 scientists recognized a need for order, and structured programming was the result. They rejected the Goto statement, and instead proposed the three basic control structures that we still use today: sequence, selection, and iteration. They also advocated grouping data into structures the use of subroutines that receive and output data. A closely related subset is Procedural Programming, which incorporates the idea of modularity: creating independent, reusable pieces of code that perform specific functions.…

    • 826 Words
    • 4 Pages
    Good Essays
  • Good Essays

    There are many different program languages because some can interact with each other and others may not be able to. There are so many things that can contribute to what a computer can do, and this is why there are a lot of different programs written in different forms. Programs are all special in there own ways and even though I have little knowledge about them as I read and learn about them I know that certain specification can be programmed to work in combination with other software.…

    • 657 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

    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

    studies

    • 2257 Words
    • 8 Pages

    Since the syntax of C, C++ and Java are similar, in what follows, comments made about C apply also to C++ and Java.…

    • 2257 Words
    • 8 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

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

    • 684 Words
    • 3 Pages
    Good 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
  • Good Essays

    The lack of portability between different computers led to the development of high-level languages—so called because they permitted a programmer to ignore many low-level details of the computer's hardware. Hence, in the mid-1950s a third generation of languages came into use. These algorithmic, or procedural, languages are designed for solving a particular type of problem. Unlike machine or symbolic languages, they vary little between computers. They must be translated into machine code by a program called a compiler or interpreter.…

    • 782 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    The Art and Science of Java

    • 3909 Words
    • 16 Pages

    1. Babbage’s Analytical Engine introduced the concept of programming to computing. 2. Augusta Ada Byron is generally recognized as the first programmer. The U.S. Department of Defense named the Ada programming language in her honor. 3. The heart of von Neumann architecture is the stored-programming concept, in which both data and programming instructions are stored in the same memory system. 4. Hardware is tangible and comprises the physical parts of a computer; software is intangible and consists of the programs the computer executes. 5. The abstract concept that forms the core of computer science is problem-solving. 6. For a solution technique to be an algorithm, it must be • Clearly and unambiguously defined • Effective, in the sense that its steps are executable • Finite, in the sense that it terminates after a bounded number of steps 7. Algorithmic design refers to the process of designing a solution strategy to fit a particular problem; coding refers to the generally simpler task of representing that solution strategy in a programming language. 8. A higher-level language is a programming language that is designed to be independent of the particular characteristics that differentiate computers and to work instead with general algorithmic concepts that can be implemented on any computer system. The higher-level language used in this text is called Java. 9. Each type of computer has its own machine language, which is different from that used in other computers. The compiler acts as a translator from the higher-level language into the machine language used for a specific machine. 10. A source file contains the actual text of a program and is designed to be edited by people. An object file is created by the compiler and contains a machine-language representation of the program. Most programmers never work directly with object files. 11. A syntax error is a violation of the grammatical rules of the programming…

    • 3909 Words
    • 16 Pages
    Powerful 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

Related Topics