DEV Community

Discussion on: The Case Against Print Statements in your Main Branch

Collapse
 
codemouse92 profile image
Jason C. McDonald • Edited

Unrelated, your co-worker (and anyone else new to the codebase) would probably benefit from Commenting Showing Intent instead of print statements. I can personally attest to the direct ROI in time and effort my team has gained from it.

...that said, if he's learning said code, it may be best for him to CSI the part of the code he's studying! (It should be subject to code review, the same as anything.)

How exactly your team would need to implement CSI, and how ambitiously, is something only y'all can determine. But I think you'll find it will eliminate most cases of "I can't understand the code base".