Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Programming.doc
Скачиваний:
21
Добавлен:
25.04.2019
Размер:
1.14 Mб
Скачать

Unit 4. Comparing Programming Languages

Warm-up

Task 1. Answer the following questions:

  1. What types of programming languages do you know?

  2. How does one compare programming languages?

  3. What are the main criteria? Make a list.

Reading

Task 2. Before reading the text, match the terms with the correct definition or explanation.

  1. Debugging

  2. Compilation

  3. Portability

  4. Platform

  5. Support

  6. Library

  1. the ability to use hardware in different places or software on different types of computer

  2. a type of computer or program used as a standard for a particular computer system

  3. the rate of translating a high-level language into machine code

  4. a collection of subroutines and functions stored in one or more files, usually in compiled form, for linking with other programs.

  5. the process of correcting errors in a program or system

  6. the help offered to the user by a company who makes or sells a computer

Task 3. Read the text below to check your answers to Task 1 and 2.

Comparing Programming Languages Technical factors

  • Application requirements: Languages tend to be suited to particular applications. For example, C is widely used for operating system development (UNIX, Linux, and Windows, to name a few), while Perl is useful for text processing, HTTP server CGI programs, and system administration work.

  • Platform requirements: The platform on which an application is to be executed may have a limited choice of language implementations available.

  • Development time: How quickly could the application be developed in a particular language? (The technical side of this question depends on how understandable the language is, and how easily an application's design can be coded in it; the political side of this question depends on the knowledge of programming staff, training available, or whether programmers with experience in the language can be hired.)

  • Portability: Execution platforms for programs tend to change over time (e.g., from DOS to Windows to Windows NT, just to trace the ''Wintel'' lineage). Is the language closely tied to a particular machine, or is the language clearly portable (e.g., Java's clear independence of any particular machine's quirks or implementation)?

Political factors

  • Popularity of the language: Popularity, in terms of the size of the marketplace and number of programmers using a language, clearly affects the choice of a language. The choice of a well-known, popular language, such as C, or a lesser-used language, such as Ada, will influence hiring and/or training requirements.

  • Economic: Which language tends to be cheapest or most cost effective in previous, similar development efforts? Is the language well-supported by commercial organizations or freeware development communities (i.e., will the language's compilers and development environment be available for the foreseeable future)?

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]