SlideShare a Scribd company logo
1 of 2
Download to read offline
in the text of a program in a particular language is better to use case sensitivity or not? how do
you justify your choice?
Solution
At the start, everything was in uppercase (FORTRAN, COBOL, LISP, etc.). But it was hard to
read, so they added case insensitivity to some systems (IBM mainframe), and case sensitivity to
some other (Unix).
Unix was case sensitive, and so many programming languages developed for use on Unix were
case sensitive.
Computers are not forgiving - an uppercase character is not the same thing as a lowercase
character, they're entirely different. And back when processing cycles, RAM and so forth were
expensive it wasn't seen as worth the effort to force compilers and computers to be "forgiving",
people were just trying to get the things to work.
Notice how case insensitivity didn't really become something useful until things like Visual
Basic came along - once companies started to get invested in the concept that getting the masses
to the program was a good thing for their bottom line did the languages start to be friendlier and
more forgiving.
Learning is always easier by example so here it goes:
C#(case sensitive but usable from VB.NET which is case insensitive):
Java and JS use a style similar to C# but methods/functions/events are declared like variables
doSomething, onEvent.
ObjectPascal(Delphi and Lazarus/FPC are case insensitive, like ADA and VB.NET)
So it's really not important if a language is case sensitive or not. Newer concepts were added to
case sensitive languages that were too confusing to be expressed by case alone and required
using a prefix.
Since case sensitive languages started using prefixes, it's only reasonable to stop using case with
the same identifier name someIdentifier SomeIdentifier SOME_IDENTIFIER, ISomeIdentifier
and just use prefixes where it makes sense.
Consider this problem: You have a class member called something, a method/function parameter
called something and a local variable called something, what case convention could be used to
easily differentiate between these ? Isn't it easier to just use the most ConsistentCaseStyle
everywhere and add a prefix ?
Fans of case insensitive languages care about code quality, they just want one style. Sometimes
they accept the fact that one library is poorly written and use a strict style while the library might
have no style or poor code.
Both case sensitive and insensitive languages require strict discipline, it makes more sense to
have only one style everywhere. It would be better if we had a language that used only
StrictCase, one style everywhere and prefixes.

More Related Content

Similar to in the text of a program in a particular language is better to use c.pdf

Unit 4 Assignment 1 Comparative Study Of Programming...
Unit 4 Assignment 1 Comparative Study Of Programming...Unit 4 Assignment 1 Comparative Study Of Programming...
Unit 4 Assignment 1 Comparative Study Of Programming...Carmen Sanborn
 
Александр Ломов: "Reactjs + Haskell + Cloud Foundry = Love"
Александр Ломов: "Reactjs + Haskell + Cloud Foundry = Love"Александр Ломов: "Reactjs + Haskell + Cloud Foundry = Love"
Александр Ломов: "Reactjs + Haskell + Cloud Foundry = Love"Olga Lavrentieva
 
Languages used by web app development services remotestac x
Languages used by web app development services  remotestac xLanguages used by web app development services  remotestac x
Languages used by web app development services remotestac xRemote Stacx
 
Programming Language Evolution
Programming Language EvolutionProgramming Language Evolution
Programming Language EvolutionKushan Dananjaya
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming conceptssalmankhan570
 
Computer Science Is The Study Of Principals And How The...
Computer Science Is The Study Of Principals And How The...Computer Science Is The Study Of Principals And How The...
Computer Science Is The Study Of Principals And How The...Laura Martin
 
Advanced_programming_language_design.pdf
Advanced_programming_language_design.pdfAdvanced_programming_language_design.pdf
Advanced_programming_language_design.pdfRodulfoGabrito
 
English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacionVillalba Griselda
 
CS152 Programming Paradigm
CS152 Programming Paradigm CS152 Programming Paradigm
CS152 Programming Paradigm Kaya Ota
 
02 c a306-phillips_langtags
02 c a306-phillips_langtags02 c a306-phillips_langtags
02 c a306-phillips_langtagssuvo1111
 
Envisioning the Future of Language Workbenches
Envisioning the Future of Language WorkbenchesEnvisioning the Future of Language Workbenches
Envisioning the Future of Language WorkbenchesMarkus Voelter
 
Optimizing for programmer happiness
Optimizing for programmer happinessOptimizing for programmer happiness
Optimizing for programmer happinessJosh Schramm
 

Similar to in the text of a program in a particular language is better to use c.pdf (20)

Unit 4 Assignment 1 Comparative Study Of Programming...
Unit 4 Assignment 1 Comparative Study Of Programming...Unit 4 Assignment 1 Comparative Study Of Programming...
Unit 4 Assignment 1 Comparative Study Of Programming...
 
Александр Ломов: "Reactjs + Haskell + Cloud Foundry = Love"
Александр Ломов: "Reactjs + Haskell + Cloud Foundry = Love"Александр Ломов: "Reactjs + Haskell + Cloud Foundry = Love"
Александр Ломов: "Reactjs + Haskell + Cloud Foundry = Love"
 
Languages used by web app development services remotestac x
Languages used by web app development services  remotestac xLanguages used by web app development services  remotestac x
Languages used by web app development services remotestac x
 
Programming Language Evolution
Programming Language EvolutionProgramming Language Evolution
Programming Language Evolution
 
Evolution of Computer Languages
Evolution of Computer LanguagesEvolution of Computer Languages
Evolution of Computer Languages
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
On lisp
On lispOn lisp
On lisp
 
Computer Science Is The Study Of Principals And How The...
Computer Science Is The Study Of Principals And How The...Computer Science Is The Study Of Principals And How The...
Computer Science Is The Study Of Principals And How The...
 
Advanced_programming_language_design.pdf
Advanced_programming_language_design.pdfAdvanced_programming_language_design.pdf
Advanced_programming_language_design.pdf
 
Assignment on basic programming language
Assignment on  basic programming languageAssignment on  basic programming language
Assignment on basic programming language
 
English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacion
 
An Introduction to ADA.pptx
An Introduction to ADA.pptxAn Introduction to ADA.pptx
An Introduction to ADA.pptx
 
Csharp tp
Csharp tpCsharp tp
Csharp tp
 
C c#
C c#C c#
C c#
 
CS152 Programming Paradigm
CS152 Programming Paradigm CS152 Programming Paradigm
CS152 Programming Paradigm
 
02 c a306-phillips_langtags
02 c a306-phillips_langtags02 c a306-phillips_langtags
02 c a306-phillips_langtags
 
Envisioning the Future of Language Workbenches
Envisioning the Future of Language WorkbenchesEnvisioning the Future of Language Workbenches
Envisioning the Future of Language Workbenches
 
Generic Programming
Generic ProgrammingGeneric Programming
Generic Programming
 
How to code
How to codeHow to code
How to code
 
Optimizing for programmer happiness
Optimizing for programmer happinessOptimizing for programmer happiness
Optimizing for programmer happiness
 

More from jacquelynjessicap166

Explain the effect of decreasing water potential on the rate of p.pdf
Explain the effect of decreasing water potential on the rate of p.pdfExplain the effect of decreasing water potential on the rate of p.pdf
Explain the effect of decreasing water potential on the rate of p.pdfjacquelynjessicap166
 
Describe the difference between a Hfr cell and a F+ cell. If an envi.pdf
Describe the difference between a Hfr cell and a F+ cell.  If an envi.pdfDescribe the difference between a Hfr cell and a F+ cell.  If an envi.pdf
Describe the difference between a Hfr cell and a F+ cell. If an envi.pdfjacquelynjessicap166
 
Describe social behavior in Termites that differs from that in ants .pdf
Describe social behavior in Termites that differs from that in ants .pdfDescribe social behavior in Termites that differs from that in ants .pdf
Describe social behavior in Termites that differs from that in ants .pdfjacquelynjessicap166
 
Create a C# console application for this question.You modified class.pdf
Create a C# console application for this question.You modified class.pdfCreate a C# console application for this question.You modified class.pdf
Create a C# console application for this question.You modified class.pdfjacquelynjessicap166
 
Consider the two monosaccharides shown below. Select all the terms th.pdf
Consider the two monosaccharides shown below. Select all the terms th.pdfConsider the two monosaccharides shown below. Select all the terms th.pdf
Consider the two monosaccharides shown below. Select all the terms th.pdfjacquelynjessicap166
 
Convert the following java code into Visual Basic code.public Bool.pdf
Convert the following java code into Visual Basic code.public Bool.pdfConvert the following java code into Visual Basic code.public Bool.pdf
Convert the following java code into Visual Basic code.public Bool.pdfjacquelynjessicap166
 
As the value of the Pearson correlation coefficient r gets smaller i.pdf
As the value of the Pearson correlation coefficient r gets smaller i.pdfAs the value of the Pearson correlation coefficient r gets smaller i.pdf
As the value of the Pearson correlation coefficient r gets smaller i.pdfjacquelynjessicap166
 
An administrator is configuring a Cisco device and has pressed the u.pdf
An administrator is configuring a Cisco device and has pressed the u.pdfAn administrator is configuring a Cisco device and has pressed the u.pdf
An administrator is configuring a Cisco device and has pressed the u.pdfjacquelynjessicap166
 
Abstract Algebra problem - Please show your work clearly! If we are .pdf
Abstract Algebra problem - Please show your work clearly! If we are .pdfAbstract Algebra problem - Please show your work clearly! If we are .pdf
Abstract Algebra problem - Please show your work clearly! If we are .pdfjacquelynjessicap166
 
What makes a plasmid a conjugative plasmid What makes a plasmid.pdf
What makes a plasmid a conjugative plasmid What makes a plasmid.pdfWhat makes a plasmid a conjugative plasmid What makes a plasmid.pdf
What makes a plasmid a conjugative plasmid What makes a plasmid.pdfjacquelynjessicap166
 
Why is the ecological systems theory (Bronfenbrenners Ecological M.pdf
Why is the ecological systems theory (Bronfenbrenners Ecological M.pdfWhy is the ecological systems theory (Bronfenbrenners Ecological M.pdf
Why is the ecological systems theory (Bronfenbrenners Ecological M.pdfjacquelynjessicap166
 
20. a. R2 is a two-dimensional subspace of R3. b. The number of varia.pdf
20. a. R2 is a two-dimensional subspace of R3. b. The number of varia.pdf20. a. R2 is a two-dimensional subspace of R3. b. The number of varia.pdf
20. a. R2 is a two-dimensional subspace of R3. b. The number of varia.pdfjacquelynjessicap166
 
What is the purpose by using different analytical tools to measure t.pdf
What is the purpose by using different analytical tools to measure t.pdfWhat is the purpose by using different analytical tools to measure t.pdf
What is the purpose by using different analytical tools to measure t.pdfjacquelynjessicap166
 
What is the importance of SHM only occurring in B cells and not in g.pdf
What is the importance of SHM only occurring in B cells and not in g.pdfWhat is the importance of SHM only occurring in B cells and not in g.pdf
What is the importance of SHM only occurring in B cells and not in g.pdfjacquelynjessicap166
 
What is Canadas comparative advantage aside from transportation an.pdf
What is Canadas comparative advantage aside from transportation an.pdfWhat is Canadas comparative advantage aside from transportation an.pdf
What is Canadas comparative advantage aside from transportation an.pdfjacquelynjessicap166
 
What are electron carriers and what do they do Provide specific exa.pdf
What are electron carriers and what do they do Provide specific exa.pdfWhat are electron carriers and what do they do Provide specific exa.pdf
What are electron carriers and what do they do Provide specific exa.pdfjacquelynjessicap166
 
Using my study in Health Care Administration, give examples of a var.pdf
Using my study in Health Care Administration, give examples of a var.pdfUsing my study in Health Care Administration, give examples of a var.pdf
Using my study in Health Care Administration, give examples of a var.pdfjacquelynjessicap166
 
A linear system is always time-invariant.SolutionNo its false. .pdf
A linear system is always time-invariant.SolutionNo its false. .pdfA linear system is always time-invariant.SolutionNo its false. .pdf
A linear system is always time-invariant.SolutionNo its false. .pdfjacquelynjessicap166
 
This chapter is quite a different read from the balance of the book..pdf
This chapter is quite a different read from the balance of the book..pdfThis chapter is quite a different read from the balance of the book..pdf
This chapter is quite a different read from the balance of the book..pdfjacquelynjessicap166
 
The ventral rami of the spinal nerves course between which muscle la.pdf
The ventral rami of the spinal nerves course between which muscle la.pdfThe ventral rami of the spinal nerves course between which muscle la.pdf
The ventral rami of the spinal nerves course between which muscle la.pdfjacquelynjessicap166
 

More from jacquelynjessicap166 (20)

Explain the effect of decreasing water potential on the rate of p.pdf
Explain the effect of decreasing water potential on the rate of p.pdfExplain the effect of decreasing water potential on the rate of p.pdf
Explain the effect of decreasing water potential on the rate of p.pdf
 
Describe the difference between a Hfr cell and a F+ cell. If an envi.pdf
Describe the difference between a Hfr cell and a F+ cell.  If an envi.pdfDescribe the difference between a Hfr cell and a F+ cell.  If an envi.pdf
Describe the difference between a Hfr cell and a F+ cell. If an envi.pdf
 
Describe social behavior in Termites that differs from that in ants .pdf
Describe social behavior in Termites that differs from that in ants .pdfDescribe social behavior in Termites that differs from that in ants .pdf
Describe social behavior in Termites that differs from that in ants .pdf
 
Create a C# console application for this question.You modified class.pdf
Create a C# console application for this question.You modified class.pdfCreate a C# console application for this question.You modified class.pdf
Create a C# console application for this question.You modified class.pdf
 
Consider the two monosaccharides shown below. Select all the terms th.pdf
Consider the two monosaccharides shown below. Select all the terms th.pdfConsider the two monosaccharides shown below. Select all the terms th.pdf
Consider the two monosaccharides shown below. Select all the terms th.pdf
 
Convert the following java code into Visual Basic code.public Bool.pdf
Convert the following java code into Visual Basic code.public Bool.pdfConvert the following java code into Visual Basic code.public Bool.pdf
Convert the following java code into Visual Basic code.public Bool.pdf
 
As the value of the Pearson correlation coefficient r gets smaller i.pdf
As the value of the Pearson correlation coefficient r gets smaller i.pdfAs the value of the Pearson correlation coefficient r gets smaller i.pdf
As the value of the Pearson correlation coefficient r gets smaller i.pdf
 
An administrator is configuring a Cisco device and has pressed the u.pdf
An administrator is configuring a Cisco device and has pressed the u.pdfAn administrator is configuring a Cisco device and has pressed the u.pdf
An administrator is configuring a Cisco device and has pressed the u.pdf
 
Abstract Algebra problem - Please show your work clearly! If we are .pdf
Abstract Algebra problem - Please show your work clearly! If we are .pdfAbstract Algebra problem - Please show your work clearly! If we are .pdf
Abstract Algebra problem - Please show your work clearly! If we are .pdf
 
What makes a plasmid a conjugative plasmid What makes a plasmid.pdf
What makes a plasmid a conjugative plasmid What makes a plasmid.pdfWhat makes a plasmid a conjugative plasmid What makes a plasmid.pdf
What makes a plasmid a conjugative plasmid What makes a plasmid.pdf
 
Why is the ecological systems theory (Bronfenbrenners Ecological M.pdf
Why is the ecological systems theory (Bronfenbrenners Ecological M.pdfWhy is the ecological systems theory (Bronfenbrenners Ecological M.pdf
Why is the ecological systems theory (Bronfenbrenners Ecological M.pdf
 
20. a. R2 is a two-dimensional subspace of R3. b. The number of varia.pdf
20. a. R2 is a two-dimensional subspace of R3. b. The number of varia.pdf20. a. R2 is a two-dimensional subspace of R3. b. The number of varia.pdf
20. a. R2 is a two-dimensional subspace of R3. b. The number of varia.pdf
 
What is the purpose by using different analytical tools to measure t.pdf
What is the purpose by using different analytical tools to measure t.pdfWhat is the purpose by using different analytical tools to measure t.pdf
What is the purpose by using different analytical tools to measure t.pdf
 
What is the importance of SHM only occurring in B cells and not in g.pdf
What is the importance of SHM only occurring in B cells and not in g.pdfWhat is the importance of SHM only occurring in B cells and not in g.pdf
What is the importance of SHM only occurring in B cells and not in g.pdf
 
What is Canadas comparative advantage aside from transportation an.pdf
What is Canadas comparative advantage aside from transportation an.pdfWhat is Canadas comparative advantage aside from transportation an.pdf
What is Canadas comparative advantage aside from transportation an.pdf
 
What are electron carriers and what do they do Provide specific exa.pdf
What are electron carriers and what do they do Provide specific exa.pdfWhat are electron carriers and what do they do Provide specific exa.pdf
What are electron carriers and what do they do Provide specific exa.pdf
 
Using my study in Health Care Administration, give examples of a var.pdf
Using my study in Health Care Administration, give examples of a var.pdfUsing my study in Health Care Administration, give examples of a var.pdf
Using my study in Health Care Administration, give examples of a var.pdf
 
A linear system is always time-invariant.SolutionNo its false. .pdf
A linear system is always time-invariant.SolutionNo its false. .pdfA linear system is always time-invariant.SolutionNo its false. .pdf
A linear system is always time-invariant.SolutionNo its false. .pdf
 
This chapter is quite a different read from the balance of the book..pdf
This chapter is quite a different read from the balance of the book..pdfThis chapter is quite a different read from the balance of the book..pdf
This chapter is quite a different read from the balance of the book..pdf
 
The ventral rami of the spinal nerves course between which muscle la.pdf
The ventral rami of the spinal nerves course between which muscle la.pdfThe ventral rami of the spinal nerves course between which muscle la.pdf
The ventral rami of the spinal nerves course between which muscle la.pdf
 

Recently uploaded

IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 

Recently uploaded (20)

IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 

in the text of a program in a particular language is better to use c.pdf

  • 1. in the text of a program in a particular language is better to use case sensitivity or not? how do you justify your choice? Solution At the start, everything was in uppercase (FORTRAN, COBOL, LISP, etc.). But it was hard to read, so they added case insensitivity to some systems (IBM mainframe), and case sensitivity to some other (Unix). Unix was case sensitive, and so many programming languages developed for use on Unix were case sensitive. Computers are not forgiving - an uppercase character is not the same thing as a lowercase character, they're entirely different. And back when processing cycles, RAM and so forth were expensive it wasn't seen as worth the effort to force compilers and computers to be "forgiving", people were just trying to get the things to work. Notice how case insensitivity didn't really become something useful until things like Visual Basic came along - once companies started to get invested in the concept that getting the masses to the program was a good thing for their bottom line did the languages start to be friendlier and more forgiving. Learning is always easier by example so here it goes: C#(case sensitive but usable from VB.NET which is case insensitive): Java and JS use a style similar to C# but methods/functions/events are declared like variables doSomething, onEvent. ObjectPascal(Delphi and Lazarus/FPC are case insensitive, like ADA and VB.NET) So it's really not important if a language is case sensitive or not. Newer concepts were added to case sensitive languages that were too confusing to be expressed by case alone and required using a prefix. Since case sensitive languages started using prefixes, it's only reasonable to stop using case with the same identifier name someIdentifier SomeIdentifier SOME_IDENTIFIER, ISomeIdentifier and just use prefixes where it makes sense. Consider this problem: You have a class member called something, a method/function parameter called something and a local variable called something, what case convention could be used to easily differentiate between these ? Isn't it easier to just use the most ConsistentCaseStyle everywhere and add a prefix ? Fans of case insensitive languages care about code quality, they just want one style. Sometimes they accept the fact that one library is poorly written and use a strict style while the library might
  • 2. have no style or poor code. Both case sensitive and insensitive languages require strict discipline, it makes more sense to have only one style everywhere. It would be better if we had a language that used only StrictCase, one style everywhere and prefixes.