Skip to content

Commit 02581f4

Browse files
docs: restore ToC anchor links for collapsed sections in Names That Reveal Intention
Co-authored-by: MateoRodriguez0 <107595139+MateoRodriguez0@users.noreply.github.com>
1 parent 0522ed0 commit 02581f4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Clean code is easy of read, understand and modify. it's achieved through a clear
3737

3838
### Names that reveal intention
3939

40+
<a id="names-should-be-clear-and-reflect-our-intention"></a>
4041
<details>
4142

4243
<summary>Names should be clear and reflect our intention.</summary>
@@ -63,6 +64,7 @@ for(int i=0; i < numberOfRequests){
6364
```
6465
</details>
6566

67+
<a id="avoid-misinformation"></a>
6668
<details>
6769

6870
<summary>Avoid misinformation</summary>
@@ -87,6 +89,7 @@ public class ProductInfo{}
8789
```
8890
</details>
8991

92+
<a id="use-pronounceable-names"></a>
9093
<details>
9194

9295
<summary>Use pronounceable names</summary>
@@ -114,6 +117,7 @@ String lastname;
114117
- It's much better to choose a very large name than one that doesn't convey its meaning clearly.
115118
</details>
116119

120+
<a id="names-of-classes-and-methods"></a>
117121
<details>
118122
<summary>Names of classes and methods</summary>
119123

@@ -129,6 +133,7 @@ public class DateParser{
129133
```
130134
</details>
131135

136+
<a id="add-context-that-provides-meaning"></a>
132137
<details>
133138

134139
<summary>Add context that provides meaning</summary>

0 commit comments

Comments
 (0)