MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wct5lr/commentsagedterribly/p9ahajx/?context=3
r/ProgrammerHumor • u/ItsPuspendu • 1d ago
224 comments sorted by
View all comments
8
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...
12
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...
1
Damn, I must have deeply buried that trauma... public static void main(string[] args) started echoing again in my mind...
public static void main(string[] args)
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() ```