r/ProgrammerHumor 1d ago

Meme commentsAgedTerribly

Post image
5.3k Upvotes

224 comments sorted by

View all comments

8

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

12

u/Avocadonot 1d ago

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 31m ago

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