What is Stateless User Interface? : Inside 736-131
What is Stateless User Interface? The essence of stateless user interface is that actions you take with a program should not depend on implicit state. Stateless interfaces are easier to understand, because an invocation of a command with some arguments will always do the same thing, whereas in a stateful interface, the command may do some different than it did yesterday, because that implicit state has changed and is influencing the meaning of your program. This philosophy is something any Haskeller should intuitively grasp... but Cabal and cabal-install today fail this ideal. Here are some examples of statefulness in Cabal today: Running cabal install , the built packages are installed into a "package database", which makes them available for use by GHC. Running cabal install ,Read full article from What is Stateless User Interface? : Inside 736-131
No comments:
Post a Comment