Skip to content

Commit

Permalink
[ISSUE 142] typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dedece35 committed Aug 7, 2023
1 parent f6aae7d commit 4a4be93
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ MATCH-CASE statement has a performance advantage over if – else.
- ELSE statements use implicity variable names !
- one variable must be used maximum twice in IF / ELSEIF / ELSE statements at differents hierarchical levels
- we can assume that if one variable is used three times or more, we should :
- use a MATCHS-CASE statement instead
- use a MATCH-CASE statement instead
- or refactor the code if possible

## Non-compliant Code Example

NON compliant, because `nb` is used 4 times :
Non-compliant, because `nb` is used 4 times :
- 2 explicit times in IF statements
- 2 implicit times in ELSE statements

Expand Down

0 comments on commit 4a4be93

Please sign in to comment.