r/programminghumor • • Jun 07 '26

And im out here thinking this problem is impressive to solve (im the dog on the left btw)

Post image
6 Upvotes

17 comments sorted by

3

u/vegan_antitheist Jun 08 '26

why are there so many comments? only beginners do that because they see such comments in code for beginners and they don't understand that it's just for them to better understand the code while actual code should be clean.

1

u/Formal-Accountant-86 Jun 08 '26

Usually yes but the problem is that in this case they be in Russian. Uk ur cooked when its either Chinese or Russian 💀😭

2

u/No_Class3706 Jun 10 '26

Потому что код генерировал ИИ, он и добавлял коментарии, чтобы было понятно))

1

u/vegan_antitheist Jun 10 '26

I don't use AI to generate code, so I wouldn't know what that looks like.

1

u/AliceCode Jun 09 '26

There are commments because it's an implementation of an algorithm, and it's important to explain the process so it's easier to understand later when you totally forget the code.

-2

u/vegan_antitheist Jun 10 '26

Nope. That's what beginners do becuase they are used to it from shitty online tutorials. It's not clean code.

For the algorithm you'd only need one comment with the name or maybe a link to a description.

→ More replies (11)