Skip to content

Conversation

@Borda
Copy link
Contributor

@Borda Borda commented Feb 14, 2024

with the actual line length he deep if anke the code long harder to follow, so instead of

if condition_a:
	<doo something deep>
	return abc
<do something simple>
return cdf

convert to

if not condition_a:
	<do something simple>
	return cdf
<doo something profound>
return abc

@Borda Borda requested a review from shaypal5 as a code owner February 14, 2024 20:18
@shaypal5 shaypal5 merged commit 5b8bb25 into master Feb 15, 2024
@shaypal5 shaypal5 deleted the refactor/ifs branch February 15, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants