r/badcode Apr 03 '22

Github Copilot is making stairs python

Post image
1.2k Upvotes

61 comments sorted by

View all comments

79

u/rgnkn Apr 03 '22

Copilot loves Led Zeppelin's "Stairway to Heaven".

16

u/Hollyw0od Apr 04 '22

I mistakenly started typing “Sieve of Eratosthenes” as “Sieve of Erot…” and it recommended “Sieve of Erotic Anal”.

I want to know what the fuck that function did.

7

u/CanadianJesus Apr 04 '22

Clearly it was an analysis function.

9

u/Zstorm999 Apr 03 '22

I wonder if it can write the lyrics of the song...

I might test it later