SlideShare a Scribd company logo
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 x
Remote Stacx
 
Programming Language Evolution
Programming Language EvolutionProgramming Language Evolution
Programming Language Evolution
Kushan Dananjaya
 
Evolution of Computer Languages
Evolution of Computer LanguagesEvolution of Computer Languages
Evolution of Computer Languages
Electro Computer Warehouse
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming conceptssalmankhan570
 
On lisp
On lispOn lisp
On lisp
Peter Wang
 
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.pdf
RodulfoGabrito
 
Assignment on basic programming language
Assignment on  basic programming languageAssignment on  basic programming language
Assignment on basic programming language
Guru buying house , Main branch ,Barishal.
 
English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacion
Villalba Griselda
 
An Introduction to ADA.pptx
An Introduction to ADA.pptxAn Introduction to ADA.pptx
An Introduction to ADA.pptx
MuhammadAwaisQureshi6
 
Csharp tp
Csharp tpCsharp tp
Csharp tp
vishal kedia
 
C c#
C c#C c#
C c#
Sireesh K
 
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 Workbenches
Markus Voelter
 
How to code
How to codeHow to code
How to code
Shishir Sharma
 
Optimizing for programmer happiness
Optimizing for programmer happinessOptimizing for programmer happiness
Optimizing for programmer happiness
Josh 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.pdf
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 
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
jacquelynjessicap166
 

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

Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
JEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questionsJEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questions
ShivajiThube2
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 

Recently uploaded (20)

Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
JEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questionsJEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questions
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 

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.