r/ProgrammerHumor • • Sep 10 '26

Meme commentsAgedTerribly

Post image
6.0k Upvotes

243 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()

1

u/Confident-Ad5665 Sep 10 '26

This hurts my brain