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_forwardHow may proponents of standardizing on a single programming language make their case?arrow_forwardOne characteristic of programming languages that varies widely from language to language is how parameters are passed. Among ALGOL, Pascal, Ada, C, C++, Java, and C#, no two languages pass parameters in exactly the same way. Among these languages, choose the one that you believe has adopted the best approach to parameter passing. Defend your decision by outlining the advantages of the approach of the language that you chose and the disadvantages of the approaches taken by other languages.arrow_forward
- To that end, please elaborate on the concept of "portability" as it applies to the different programming languages.arrow_forwardWhat 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_forward
- What does it mean for a set of language features (e.g., a type system) to be orthogonal?arrow_forwardExplain the concept of portability as it applies to programming languages.arrow_forwardDiscuss the concept of operator precedence and associativity in programming languages. Why is it important for understanding and writing correct code?arrow_forward
- Explain the concept of portability in relation to the different programming languages.arrow_forwardGive an explanation of the concept of portability in relation to the many different programming languages that are available today.arrow_forwardHow may the case be made for standardizing on a single programming language?arrow_forward
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr