MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1w630ne/branchavoidant_programming/p7k55yo/?context=3
r/programming • u/fagnerbrack • Sep 03 '26
92 comments sorted by
View all comments
Show parent comment
16
Wouldn’t the if statement make it easier to read?
Yes
Wouldn’t an if statement allow for early returns?
Yes but that still generally wouldn't improve the speed.
View all comments
Show parent comment
16
u/Lonsdale1086 Sep 03 '26
Yes
Yes but that still generally wouldn't improve the speed.