Concepts of Programming Languages
Concepts of Programming Languages
11th Edition
ISBN: 9780133943047
Author: Robert W Sebesta
Publisher: PEARSON
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 1, Problem 8PS

Explanation of Solution

User-defined Names:

Many languages distinguish between uppercase and lower case letters in user defined names. There are various views for and against this design. Pros and cons depend on how the language is used. That is, it all depends upon the programming practices of programmers.

There are various conventions among the programmers regarding the naming of variables, user defined data types’ variables and functions.

  • For variables, usually all the letters are kept small.
  • For functions, usually camel notation is used where first letter is small and all other letters are in capitals.
  • For class names, first letter is in capitals and all others are small.

Pros:

  • So, this design increases the readability of programs if such naming conventions are used...

Blurred answer
Students have asked these similar questions
Many languages distinguish between uppercase and lowercase letters inuser-defined names. What are the pros and cons of this design decision?
What do you consider to be the most essential aspect of programming languages?
What do you believe to be the most crucial aspect of programming languages?

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.
Recommended textbooks for you
  • Text book image
    EBK JAVA PROGRAMMING
    Computer Science
    ISBN:9781337671385
    Author:FARRELL
    Publisher:CENGAGE LEARNING - CONSIGNMENT
    Text book image
    Microsoft Visual C#
    Computer Science
    ISBN:9781337102100
    Author:Joyce, Farrell.
    Publisher:Cengage Learning,
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,