west, donavon west™️@donavon
If you need to use one or more temp variables to reduce the complexity of an "if" statement, then use one or more temp variables.
Your colleagues and your future self will thank you.
#SelfDocumentingCode
005
Posts with #selfDocumentingCode
Public posts on X that use #selfDocumentingCode.
Mario Cervera @macerubI tend to avoid comments. I prefer self-explanatory code. But some types of comments can indeed be helpful. For example, if I wrote some code in a convoluted way for performance reasons, I'd document these reasons in a comment. ❓ What comments do you find useful (or useless)?