News for hackers. Stuff that matters.
Re:Functors, Applicatives, and Monads in Pictures (2013) by marcosdumay on Thursday October 21, 2021 @11:17AM (#28945668)
I once had to add logging to a large set of methods in C#, so I thought, well, let's make a function decorator like Python or Haskell, there's no reason it wouldn't work on C#.

Well, it indeed worked perfectly well. But the amount of noise added to satisfy the type checker was larger than reimplementing the log procedure at each place.

There are no comments on this comment yet.