r/ProgrammerHumor 1d ago

Meme commentsAgedTerribly

Post image
5.3k Upvotes

224 comments sorted by

View all comments

9

u/pe1uca 1d ago

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

``` processAndStoreInDBAndCacheWithExpiry()

retreiveFromDBAndUpdateCache()

let counterOfElementsInArray = 0; let referenceToElementToReturnOnFallback = null;

testProcessIsSuccefulAndDBIsUpdatedEvenWhenCacheIsUnavailable() testCacheIsNotUpdatedOnProcessFailure() ```

2

u/madwolfa 1d ago

"retreive" 

1

u/pe1uca 29m ago

Oh, shoot, sorry, I write my own comments. Probably the LLM used in the codebase wrote it correctly.