TheBackwardPipeOperatorCanAlsoHelpWithGrouping - Add De-Emphasis Note?
Opened this issue · 0 comments
JustinGrote commented
Don Syme, etc. have mentioned the backward pipe is now considered bad practice (like backticks in Powershell), so should this koan have a note that this pattern is discouraged in favor of pipelining and that typically you would do this instead?
[<Koan>]
let TheBackwardPipeOperatorCanAlsoHelpWithGrouping() =
let add x y =
x + y
let double x =
x * 2
let result =
add 5 8
|> double
AssertEquality result 26