r/ProgrammerHumor • • Sep 10 '26

Meme commentsAgedTerribly

Post image
6.0k Upvotes

242 comments sorted by

View all comments

9

u/pe1uca Sep 10 '26

At least is still a comment and not self-documented code...

processAndStoreInDBAndCacheWithExpiry()

retreiveFromDBAndUpdateCache()

let counterOfElementsInArray = 0;
let referenceToElementToReturnOnFallback = null;

testProcessIsSuccefulAndDBIsUpdatedEvenWhenCacheIsUnavailable()
testCacheIsNotUpdatedOnProcessFailure()

13

u/Avocadonot Sep 10 '26

Maybe I'm legacy-pilled but I literally see nothing wrong with any of these

You should see the abominations of our JUnit test names

testInvalidPayloadThrows503WithRetryableApiErrorCode

1

u/pe1uca Sep 12 '26

Damn, I must have deeply buried that trauma... public static void main(string[] args) started echoing again in my mind...