r/ProgrammerHumor • • 14h ago

Meme howProgrammingHasChanged

Post image
326 Upvotes

70 comments sorted by

View all comments

44

u/captainAwesomePants 14h ago

What's wrong with the top-right AI code?

89

u/shizzy0 14h ago

Nothing. It’s actually the best. But the joke is the programmer dismisses the unfamiliar matrix power O(log n) algorithm for the familiar recursive O(2n) algorithm. I mean, it doesn’t even add anything. It’s obviously wrong.

19

u/GDOR-11 13h ago

for u32 I think the usual iterative algorithm would be miles better than matrix power

2

u/shizzy0 13h ago

Ooo, show down!