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 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
What are some of the potential objections you may have to the concept of a standard computer language?
What is the significance of keywords in programming languages, and how are they used?
Machine dependent is a disadvantage of ____ languages that is overcome by high level 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.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education