MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/128658y/what_this_codestyle_called/jei3o3k/
r/badcode • u/[deleted] • Apr 01 '23
290 comments sorted by
View all comments
Show parent comment
55
It's someone learning to code. The outputs are "task 1", "task 2" etc. People are bullying some kid's homework.
6 u/havens1515 Apr 01 '23 It's kinda obvious, too. I wrote plenty of code like this when I was learning. When the only tool in your toolbox is an if statement, that's what you use. 5 u/Distinct-Moment51 Apr 01 '23 It’s kinda funny how actually not bad it all is if it works as intended. Now if it doesn’t actually work then you’ve got a problem
6
It's kinda obvious, too. I wrote plenty of code like this when I was learning. When the only tool in your toolbox is an if statement, that's what you use.
5
It’s kinda funny how actually not bad it all is if it works as intended. Now if it doesn’t actually work then you’ve got a problem
View all comments
Show parent comment
55
u/nikvasya Apr 01 '23
It's someone learning to code. The outputs are "task 1", "task 2" etc. People are bullying some kid's homework.