Concepts Of Programming Languages
Concepts Of Programming Languages
12th Edition
ISBN: 9780134997186
Author: Sebesta, Robert W.
Publisher: Pearson,
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 1, Problem 23RQ

Explanation of Solution

Two language design criteria that are in direct conflict with each other:

For efficient language design, there are so many criteria that have to be kept in mind and the main problem is many of them conflict with each other. So the reconciliation and satisfaction of all of these criteria is a challenging engineering task Developers of any language has to compromise on some criteria to fulfill other criteria.

The choice of these criteria depends mainly upon the use and potential audience of the language. The two contradicting criteria in language design are:

  • Cost of execution; and
  • Reliability.

The classic example of this dilemma is checking of the array bounds for any index.

For example, JAVA, at the compile time checks that all the references to arrays have their indices within the bounds.

  • As a result, JAVA code is more reliable but takes more time to execute if there are more references to arrays.
  • The designers of JAVA traded execution time for reliability...

Blurred answer
Students have asked these similar questions
What is an example of 2 language design criteria that are in direct conflict with each other?
How would you sum up your approach to categorizing programming languages?
Why is it vital for modern programming languages to have both pass-by-value capabilities as well as pass-by-reference features? Why are we not only able to choose one of these two possibilities? It would be helpful if you could explain, in your answer, both the benefits of having both and the reasons why it would be foolish to have only one or the other.

Chapter 1 Solutions

Concepts Of Programming Languages

Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr