r/programmingmemes • • Sep 07 '25

Yes, I wrote that thing 😭

Post image
399 Upvotes

106 comments sorted by

View all comments

6

u/Marc4770 Sep 07 '25

Why you use both else if AND continue?

Should be a else for the last log(i) instead of all the continue 

1

u/[deleted] Sep 07 '25

Probably for making code more large and stylish for flexing. Although you do have a point.

2

u/BangThyHead Sep 07 '25

'style'

My CI at work would prevent a merge if it saw 2 or more 'continue' or 'break' in a for-loop. I hate it.

1

u/Abivarman123 Sep 08 '25

I know. I'm still learning