WTF is this code....

Posted Aug 28, 2020, 5:23 PM UTC

Posted Aug 28, 2020, 5:23 PM UTC
git blame
Apparently, they are both the idiot.
Seems legit.
So this a real issue in coding that stems from one simple fact:
For code of a given complexity, it requires more skill to read it than to write it.
So if you write code as complicated as you can, it’ll take someone smarter than you to understand what your wrote. Which I really sucks if you have to come back to it months later and you can’t understand your own code.
Always write for a dumber version of yourself!
Sometimes I feel that way only to realize that I was the one who wrote it long ago.
They are the same person.
If the code runs, then you. If it isn't then both of you. But no hard feelings. We accept you the way you are.
Nah, there's code that runs, but it's still a fucking mess and should be reworked when you get the chance (which will most likely be never). I've seen code where the guy who wrote it used hidden textboxes on the GUI to store text... Instead of just using a variable, like any sane person would.
If you don't get THAT code, then it's not you who is the idiot.
Running code isn't even half the battle, correct, grokable and maybe fast is the majority.
While this code is quite important and clearly works... I'm not sure anyone understands it...
If it's spaghetti code then definitely them
Plot twist: you wrote that code but forgot
Aaagh! Stupid past me, he is always writing shit code I have to fix.
I have done this with old code I have written more times than I am comfortable admitting. >.>
Same