- C# and .NET Core Test Driven Development
- Ayobami Adewole
- 161字
- 2021-06-25 22:00:26
Naming the program elements
Meaningful and descriptive element naming can greatly improve the source code's readability. It allows easy comprehension of the logical flow of the program. It is amazing how software developers still give names to program elements that are too short or not descriptive enough, such as giving a variable a letter name or using acronyms for variable naming.
Generic or elusive names for elements lead to ambiguity. For example, having a method name as Extract() or Calculate() at first glance results in subjective interpretations. The same is applicable to using vague names for variables. For example:
int x2;
string xxya;
While program element naming in itself is an art, names are to be selected to define the purposes as well as succinctly describe the elements and ensure that the chosen names comply with the standards and rules of the programming language being used.
More information on acceptable naming guidelines and conventions is available at: https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/naming-guidelines.
- ASP.NET Core:Cloud-ready,Enterprise Web Application Development
- Google Flutter Mobile Development Quick Start Guide
- HoloLens Beginner's Guide
- Learning ASP.NET Core 2.0
- Responsive Web Design with HTML5 and CSS3
- Object-Oriented JavaScript(Second Edition)
- C/C++常用算法手冊(第3版)
- 零基礎(chǔ)學(xué)Java(第4版)
- The HTML and CSS Workshop
- Apache Spark 2.x for Java Developers
- Node.js:來一打 C++ 擴(kuò)展
- Essential C++(中文版)
- HTML5+CSS3+JavaScript 從入門到項目實踐(超值版)
- Distributed Computing in Java 9
- Python預(yù)測分析與機(jī)器學(xué)習(xí)