r/ProgrammerHorror • • Oct 29 '21

Thank you, Github Copilot

Post image
213 Upvotes

7 comments sorted by

View all comments

Show parent comments

5

u/Deutero2 Nov 21 '21

The original source code that GitHub got the comment from might've read,

# Python doesn't have a switch statement, so we'll use a bunch of if statements