Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zakirullin authored Jul 5, 2024
1 parent 57deaee commit 4bb5363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if val > someConstant // 🧠+

Introduce intermediate variables with meaningful names:
```go
isValid = var > someConstant
isValid = val > someConstant
isAllowed = condition2 || condition3
isSecure = condition4 && !condition5
// 🧠, we don't need to remember the conditions, there are descriptive variables
Expand Down

0 comments on commit 4bb5363

Please sign in to comment.