The relative topic is pipe forward operator Pipe-forward operator |>
I think the second approach is much readability.