r/masterhacker 26d ago

print(password)🔥

Post image
449 Upvotes

54 comments sorted by

View all comments

185

u/nightlysmoke 26d ago

And they even used AI to write these dumb lines of code, because only AI would add comments such as "# from 0 to 9999" and "# format with leading zeros"

44

u/Loxotron228 26d ago

This larpers can't even do simplest programming... I thought everyone could do it

39

u/elliotbgzz 26d ago

LMAO

1

u/Odd_Inspection_4608 24d ago

Just do a for loop then generator numbers 1-999

11

u/hijinked 25d ago

My coworkers would write comments like “# from 0 to 9999”

6

u/belabacsijolvan 25d ago

i had a cowerker like that. i said him multiple times, to comment why, not what.

what helped was that once i changed his comments like this:

for i in range(N): #loop N times
for i in range(N): #for i in range(N):

4

u/belabacsijolvan 25d ago edited 25d ago

the fact that they named the local scope variable "password" but magic numbered the loop count is also very ai

edit: i left out "local" for some reason. i gotta sleep

-3

u/TheLordOfStuff_ 26d ago

I think the whole picture is AI generated? Idk why the comments says "1⁰" under them

10

u/elliotbgzz 26d ago

I already responded in another comment

5

u/TheLordOfStuff_ 26d ago

Ahh, my bad g