Replies: 1 comment
-
If anyone would like to provide tips; please do so. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Add tips for avoiding errors when logging.
Every application requires some kind of logging. I think that’s a given. This linter, while excellent, always highlights any logging statement as an error. Though it is true that logging does violate a principle of functional programming in a technical sense, no program actually forgoes logging altogether — they just use functional constructs to wrap their logging statements, like the IO monad. However, this longer provides no feedback for how to log properly, and not only that, if you try to write an IO monad it’ll throw tons of errors telling you that your monad isn’t functional. A linter-approved logging system would be helpful as well as details for how to implement it.
Beta Was this translation helpful? Give feedback.
All reactions