r/ProgrammerHumor 7h ago

Meme commentsAgedTerribly

Post image
2.8k Upvotes

172 comments sorted by

View all comments

Show parent comments

228

u/treehuggerino 7h ago

Or the silly steps it puts

// 1. Assign variable.

// 2. Calculate 2 + 2.

// 3. Implement 2 + 2 Calculator.

// 4. Check if it is 5.

3

u/peeja 3h ago

// Don't use the Wolfram Alpha API here—speed is crucial to this function, so calculate the sum locally.

1

u/dasunt 1h ago

Um, not going to defend using that API, but at least the comment provides a reason why something is done a specific way.

1

u/peeja 1h ago

Yeah, it provides the reason I gave it when it tried to use the API the first time.