Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed Oct 26, 2023
1 parent 563b4ed commit 60b796e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions posts/for-vs-apply/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ have to initialize your variables, manage indexing, etc.

This, in turn, impacts code readability since:

- The boilerplate code does not offer meaningful insights into the algorithm
or implementation and can be seen as visual noise.
- While compactness should never take precedence over readability, a more
compact solution allows for more code to be displayed on the screen without
scrolling. This ultimately makes it easier to understand what the code is
doing. With all things otherwise equal, the more compact solution should
thus be preferred.
- The boilerplate code does not offer meaningful insights into the algorithm or
implementation and can be seen as visual noise.
- While compactness should never take precedence over readability, a more
compact solution allows for more code to be displayed on the screen without
scrolling. This ultimately makes it easier to understand what the code is
doing. With all things otherwise equal, the more compact solution should thus
be preferred.

## Reason 3: variable leak

Expand Down

0 comments on commit 60b796e

Please sign in to comment.