robinp, Hungarian I often see in #Haskell codebases
foo $ bar $ baz $ 5
. Let's put it aside that I mostly agree with https://www.haskellforall.com/2015/09/how-to-make-your-haskell-code-more.html suggestion onfoo (bar (baz 5))
and try to stick it whenever I can. But for the original, I always foundfoo . bar . baz $ 5
easier to read, and easier to refactor (just copy the dotty part to a helper). Don't be so $-oriented ;)
Add comment