Hacker News new | ask | show | jobs
by wycats 3850 days ago
CoffeeScript should have thought of that ;)
1 comments

JS

  var result = exclaim(capitalize(doubleSay("hello")));
ES7 Proposal: The Pipeline Operator

  var result = "hello"
    |> doubleSay
    |> capitalize
    |> exclaim;
CoffeeScript

  result = exclaim capitalize doubleSay 'hello'
I'll take CoffeeScript.
+1