News for hackers. Stuff that matters.
Re:Interesting features from various modern programming lang... by mattnewport on Friday November 10, 2017 @05:33AM (#15669033)
As well as the readability advantages, a major reason for the pipeline operator in F# (the first place I encountered it) is to help with type inference. Because type inference happens left to right in F# the compiler usually knows the type you're dealing with already with code written using the pipeline operator but you may have to manually specify the type without it. It also makes for a better intellisense experience.
Re:Interesting features from various modern programming lang... by DonaldPShimoda on Friday November 10, 2017 @10:25AM (#15670446)
This makes a lot of sense. Thanks for the insight!