DroneRights [it/its] to Programmer HumorEnglish • edit-27 months agoWelcome to the wonderful world of code obfuscationimgur.comimagemessage-square92fedilinkarrow-up1235arrow-down111file-text
arrow-up1224arrow-down1imageWelcome to the wonderful world of code obfuscationimgur.comDroneRights [it/its] to Programmer HumorEnglish • edit-27 months agomessage-square92fedilinkfile-text
minus-square@MagicShellink23•7 months agoI’d make it a named function for clarity and testability and proceed to give zero shits how it is implemented. I would unironically write this code if it worked, but I wouldn’t inline it to reduce the cognitive load of reading it.
minus-squareCosmicomicallinkfedilink1•7 months agoLol i can’t lie, it took me a while to get the joke. I feel so dumb
I’d make it a named function for clarity and testability and proceed to give zero shits how it is implemented. I would unironically write this code if it worked, but I wouldn’t inline it to reduce the cognitive load of reading it.
This, and maybe a couple of unit tests
7 unit tests should be enough I think
Lol i can’t lie, it took me a while to get the joke. I feel so dumb