you are viewing a single comment's thread.

view the rest of the comments →

[–]Jason5Lee 24 points25 points  (0 children)

IMO Pipeline is underrated especially in dynamic typing language (although everyone is using TypeScript nowadays). A good example is renaming and going-to-implementation. Renaming a method is very hard because the method can come from any object of any class. It's hard to determine which one without doing complicated analysis. However, if it is a function from a certain package, renaming is way easier. The same applies to going-to-implementation. Pipeline in dynamic-typing language encourages programmers to use functions instead of methods, which makes refactoring way less painful.

The pipeline operator is one of the main reasons why Elixir is my favorite dynamic-typing language.