Skip to content

Conversation

@parhamsaremi
Copy link
Contributor

It improves code readability.

Fixes: #545

NOTE: this PR supersedes an old PR

@parhamsaremi parhamsaremi changed the title Rule to recommend if-else construct instead of match clause Draft: Rule to recommend if-else construct instead of match clause Nov 21, 2022
@parhamsaremi parhamsaremi changed the title Draft: Rule to recommend if-else construct instead of match clause DRAFT: Rule to recommend if-else construct instead of match clause Nov 21, 2022
@knocte
Copy link
Collaborator

knocte commented Jan 6, 2026

We should probably rename FavourBasicControlFlow to RecommendIfElseConstructOverMatch.

@webwarrior-ws
Copy link
Contributor

Superseded by #822

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rule to recommend if-else construct instead of match clause

4 participants