|> Operator in Scala
Nicolas A Perez
17810

I am not trying to asail you or anything just giving my honest opinion.

Like you said in your conclusions most scaladevs who’ve been using the language for a while don’t miss it.

I’ve used the |> operator in elixir (not a ruby fanboy I just wanted to work on beam to improve my scala + akka) but honestly I really don’t miss it in scala since I feel like just using andThen with currying gives you the same thing and more.

Also I can’t really can’t tell if from the code if itcan work on multiple arguments since in elixir it just automaticly goes on the first arg and you define the second one. If it can’t then what difference is it from andThen since you will have to curry or write a partial either way.

Like what you read? Give Sam Riyad a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.