Comment Comment by ggorlen > print debugging is problematic since the developer has to be diligent about removing it once it is not longer needed.Linters make this a non-issue, and most modern development environments support them.https://eslint.org/docs/latest/rules/no-consolehttps://docs.astral.sh/ruff/rules/print/In situations where for whatever reason it's infeasible to use a linter, a basic grep can surface prints in a codebase reliably enough. parent ggorlen 1 year ago
Linters make this a non-issue, and most modern development environments support them.
https://eslint.org/docs/latest/rules/no-console
https://docs.astral.sh/ruff/rules/print/
In situations where for whatever reason it's infeasible to use a linter, a basic grep can surface prints in a codebase reliably enough.