by problems · 9y ago · 0 comments
If it were to just be "foo bar 1", you couldn't tell the difference between (C style again for clarity): foo(bar(1)) and foo(bar, 1).
Some newer functional languages have a composition operator which allows you to write this without the brackets, but the brackets still are easier to follow in many cases.
Or `foo(bar)(1)`.