News for hackers. Stuff that matters.
Re:Command line interfaces are reified UIs by pklausler on Friday November 03, 2017 @01:03PM (#15620625)
CLIs are (or can/should be) composable. This is what really makes functional programming languages so powerful -- they give you a few connective frameworks, and a box of components that can be glued into them, and one can compose great things from simple things.

Or, in other words, "|" in the shell is "." in Haskell (with operands reversed).

Re:Command line interfaces are reified UIs by dualogy on Friday November 03, 2017 @01:11PM (#15620691)
> Or, in other words, "|" in the shell is "." in Haskell (with operands reversed).

Well for real power you also throw partial application and arbitrary sub-lambdas / case-switches / let-binders into this mix and now that basic 'pluggable' composability truly shines =)

Re:Command line interfaces are reified UIs by alkonaut on Friday November 03, 2017 @06:05PM (#15622488)
It's really powerful in one sense (the composing part) and so limiting because you immediately force applications to talk in lowest common denominator speak. It's exactly like the dot in haskell but you have no types. Haskell without types is pretty terrible.