I guess is about personal preference. I do prefer h . g $ f x y z
because
- It is slightly easier to refactor
some_thing = h . g $ f x y z
some_thing = expressive_name $ f x y z
where expressive_name = h . g -- This is just copy-paste
some_thing' = h $ g $ f x y z
some_thing' = expressive_name $ f x y z
where expressive_name = h . g -- You have to change the $ by . or
expressive_name x = h $ g x -- You have to add the extra x
some = h . g $ f x y z -- you can focus on the two importan parts function - argument
-- | |- applied to
-- |- some func
some = h $ g $ f x y z -- less clear what it means in my opinion
-- | |- applied to
-- |- applied to
Clearly a too long post for something not important…