"Code never lies, comments sometimes do." — Ron Jeffries
@CodeWisdom That said, variable and function names might also lie. Or, at least, not tell the whole truth.
@CodeWisdom @JayneTheHuman Can't have lying comments if all you write down is "// I have no idea what this does anymore I wrote this at 2am when I was on the brim of falling asleep but it's important and everything breaks if I remove this"
@CodeWisdom Use comments sparingly and wisely
@CodeWisdom Not sure why there is this hype about comments, but every time I read someone's code (including mine) that guy has never left a comment with tons of lies in the naming. It's like he's saying, If a code is difficult to write, it should be difficult to read too. Period.
@CodeWisdom <html> <body> <h1>Code Never lies</h1> <script> var YES = true; var NO = false; if(YES) { alert(" code never lies !!"); } if(NO) { alert("comments do ! "); } </script> </body> </html>
@CodeWisdom static void lie() { printf("here is a lie"); }
@CodeWisdom @robotstain Is that so? Do you know JavaScript, perhaps? 😂 There are some code that lies, pretty sure kkk
@CodeWisdom Indeed.. I know people printing desired output using printf & other string formatting functions 😂
@CodeWisdom @SAH16928046 Amazing interpretation of Qualitative data
@CodeWisdom Code never lie ...it's the intention it was written with that am not sure about. Comment justify our intentions 🧘
@CodeWisdom is a silly justification for not producing documentation.
@CodeWisdom @davecheney Unfinished code won't compile but incomplete comments will compile ; ( TODO comments)
@CodeWisdom Clean codes need no explanation, the output will literally tell u what the entire thing is all about ✌✌✌
@CodeWisdom @evilspellz @a_adeshmore @Prashan82890405
@CodeWisdom "Code never lies, perspective sometimes do" ~MMM
@CodeWisdom First of all presence of comments is often a surprise...😂😂😂
@CodeWisdom Many a times I had the pleasure of inheriting code that said otherwise.
@CodeWisdom True. As development progresses, it goes thru hands of different developers and soon stage reaches where code and comment starts going out of sync. This is neither right nor wrong, but part and parcel of dev life cycle and the situation.
@CodeWisdom @VictorRentea Yes the code never lies, but the given names to class, method, variables does
@CodeWisdom Use comment line Lol ! Sorry was trynna work on my making jokes side
@CodeWisdom And it logically follows that coders sometimes lie.
@CodeWisdom Sometimes variable names doesn't make any sense.
@CodeWisdom You have to wonder how much Perl Ron wrote. 🤣
@CodeWisdom Code can lie with deceptive variable names, function names, deceptive logic and confusing indentation. Life would be much simpler if only comments were deceptive.
@CodeWisdom When code and comments disagree, both are probably wrong.
@CodeWisdom @rBharshetty Those who update code but not comments. 🤦♂️