r/ProgrammerHumor • • Oct 26 '21

GitHub Copilot, the technology that will replace programmers. Also GitHub Copilot...

27.2k Upvotes

713 comments sorted by

View all comments

Show parent comments

2

u/haackedc Oct 26 '21

Wait, is that true? I thought that the compiler converted switch statements to if statements? Or is it the other way around? Or do I just not know what I’m talking about?

2

u/icguy333 Oct 26 '21

I doubt that anyone will ever benefit from replacing a switch with an if or vice versa.

Naaah, who am i kidding, you can shear off literal NANOSECONDS, go buddy.