Skip to content

fix typo #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions 1. Comments and Documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ Methods that have code that is not accessible at dev-time, or perform a complex
- Incomes
- Outcomes
- Side Effects


4 changes: 0 additions & 4 deletions 2. Classes and Interfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,3 @@ public class Student

var student = new Student (name: "Elbek", id: Guid.NewGuid());
```




6 changes: 3 additions & 3 deletions 4. Methods.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## 1 Methods

### 1.0 Naming
Method names should be a summary of what the method is doing, it needs to stay percise and short and representative of the operation with respect to synchrony.
Method names should be a summary of what the method is doing, it needs to stay precise and short and representative of the operation with respect to synchrony.

#### 1.0.0 Verbs
Method names must contain verbs in them to represent the action it performs.
Expand Down Expand Up @@ -276,7 +276,7 @@ public async ValueTask<List<Student>> GetStudentsAsync()
A method declaration should not be longer than 120 characters.
##### Do
```cs
public async ValueTask<List<Student>> GetAllRegisteredWashgintonSchoolsStudentsAsync(
public async ValueTask<List<Student>> GetAllRegisteredWashingtonSchoolsStudentsAsync(
StudentsQuery studentsQuery)
{
...
Expand All @@ -285,7 +285,7 @@ public async ValueTask<List<Student>> GetAllRegisteredWashgintonSchoolsStudentsA

##### Don't
```cs
public async ValueTask<List<Student>> GetAllRegisteredWashgintonSchoolsStudentsAsync(StudentsQuery studentsQuery)
public async ValueTask<List<Student>> GetAllRegisteredWashingtonSchoolsStudentsAsync(StudentsQuery studentsQuery)
{
...
}
Expand Down
4 changes: 2 additions & 2 deletions 5. Variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var studentObj = new Student();
<br />

#### 0.0.3 Nulls or Defaults
If a variable value is it's default such as ```0``` for ```int``` or ```null``` for strings and you are not planning on changing that value (for testing purposes for instance) then the name should identify that value.
If a variable value is it's default such as ```0``` for ```int``` or ```null``` for strings and you are not planning on changing that value (for testing purposes for instance) then the name should identify that value.
##### Do
```cs
Student noStudent = null;
Expand Down Expand Up @@ -116,7 +116,7 @@ var student = new

#### 0.1.3 Single-Property Types

Assign properties directly if you are declaring a type with one property.
Assign properties directly if you are declaring a type with one property.

#### Do

Expand Down