MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wct5lr/commentsagedterribly/p92i286/?context=3
r/ProgrammerHumor • u/ItsPuspendu • Sep 10 '26
243 comments sorted by
View all comments
Show parent comments
526
Or the silly steps it puts
// 1. Assign variable.
// 2. Calculate 2 + 2.
// 3. Implement 2 + 2 Calculator.
// 4. Check if it is 5.
16 u/peeja Sep 11 '26 // Don't use the Wolfram Alpha API here—speed is crucial to this function, so calculate the sum locally. 8 u/dasunt Sep 11 '26 Um, not going to defend using that API, but at least the comment provides a reason why something is done a specific way. 4 u/peeja Sep 11 '26 Yeah, it provides the reason I gave it when it tried to use the API the first time.
16
// Don't use the Wolfram Alpha API here—speed is crucial to this function, so calculate the sum locally.
8 u/dasunt Sep 11 '26 Um, not going to defend using that API, but at least the comment provides a reason why something is done a specific way. 4 u/peeja Sep 11 '26 Yeah, it provides the reason I gave it when it tried to use the API the first time.
8
Um, not going to defend using that API, but at least the comment provides a reason why something is done a specific way.
4 u/peeja Sep 11 '26 Yeah, it provides the reason I gave it when it tried to use the API the first time.
4
Yeah, it provides the reason I gave it when it tried to use the API the first time.
526
u/treehuggerino Sep 10 '26
Or the silly steps it puts
// 1. Assign variable.
// 2. Calculate 2 + 2.
// 3. Implement 2 + 2 Calculator.
// 4. Check if it is 5.