Concept explainers
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...
Want to see the full answer?
Check out a sample textbook solutionChapter 1 Solutions
Concepts Of Programming Languages
- What is an example of two language design criteria that are in directconflict with each other?arrow_forwardWhat would you say is the most typical categorization for programming languages?arrow_forwardWhat is the significance of keywords in programming languages? How do they impact code readability and functionality?arrow_forward
- What possible justifications may there be for standardizing on a single programming language?arrow_forwardWhat are some of the criticisms that might be leveled against the idea of using a single programming language across all fields?arrow_forwardHow may proponents of standardizing on a single programming language make their case?arrow_forward
- What are examples of syntax and semantics using a programming language structure for C++ or Python?arrow_forwardProvide an explanation of what is meant by the phrase "portability" in relation to programming languages.arrow_forwardExplain the concept of portability as it applies to programming languages.arrow_forward
- Where does one even begin when it comes to studying different programming languages? Which level of a programming language is considered to be the most effective? Why does this seem to be the case? Could you perhaps elaborate on what you mean?arrow_forwardWhat are some of the criticisms that might be levelled against the idea of using a single programming language across all fields?arrow_forwardDiscuss the concept of operator precedence and associativity in programming languages. Why is it important for understanding and writing correct code?arrow_forward
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr