You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P. Oscar Boykin>
I love functional programming. I’m still very skeptical that logging is an effect we want to track.
Logging is for observability. Removing all logging shouldn’t change the semantics of the program.
By using an effect we change the types of many logged functions.
Gabriel Gonzalez>
It is worth tracking if you care about preserving the number of times something is logged and
the order in which things are logged. Otherwise an aggressive compiler trying to inline,
speculatively evaluate, or eliminate common sub-expressions could mess with log output