Академический Документы
Профессиональный Документы
Культура Документы
Software Quality
External quality
Is the code easy to read and understand? Is the code well structured? Is the code easy to modify?
5
programming code:
Well documented
Self-documenting code
Well formatted
6
programming code:
Good formatting
Good names for classes, methods, variables, etc. Self-documenting code style
7
Code Conventions
Code conventions are formal guidelines about the style of the source code:
Naming conventions
PascalCase or camelCase, prefixes, suffixes, etc.
Best practices
Classes, interfaces, enumerations, structures, inheritance, exceptions, properties, events, constructors, fields, operators, etc.
8
Managing Complexity
Maximizing the portion of a program that you can safely ignore while working on any one section of code Most practices discussed later propose ways to achieve this important goal
11
Easy to understand
Maintainable
names
Good names for variables, constants, methods, parameters, classes, structures, fields, properties, interfaces, structures, enumerations, namespaces,
High-quality
hierarchies
Good abstraction and encapsulation
Simplicity, reusability, minimal complexity Strong cohesion, loose coupling
13
methods
Reduced complexity, improved readability Good method names and parameter names Strong cohesion, loose coupling
Variables,
Simple expressions
Correctly used constants Correctly organized data
14
Simple statements
Simple conditional statements and simple conditions
Effective comments
Self-documenting code
Defensive programming and exceptions
16
, SEO - , , HTML, CSS, JavaScript, Photoshop free C# book, C#, Java, C# " " " cloud "
BG Coder - - online judge , ASP.NET - , , C#, .NET, ASP.NET ASP.NET MVC HTML, SQL, C#, .NET, ASP.NET MVC , iPhone, Android, WP7, PhoneGap - - C# , ,
http://academy.telerik.com
Homework
Write a short essay (1-2 pages) on the topic:
"What is a high-quality programming code?" Send us a Word file in ".doc" or ".docx" format
19
codecourse.telerik.com
academy.telerik.com
facebook.com/TelerikAcademy
forums.academy.telerik.com