You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
967 B

  1. Unfortunately, with java we:
  2. \begin{itemizep}
  3. \item now got even more states to keep track of (intellectual complexity?)
  4. \item have clouded the program flow... it's now about object-interaction with their explicit and implicit states and because of the increase of indirection, it might get even harder to do actual abstraction
  5. \item still have \textbf{side effects} everywhere: one object changes the state of another and vice versa, may arbitrarily write to the hard drive, do kernel calls or launch a missile
  6. \end{itemizep}
  7. \slidep
  8. Some parts of the implicit state machine have been made explicit by modelling classes, but it's still there and we have to deal with it, because we are modelling everything around states. Wouldn't it be nice if we could just forget about the global state machine? Maybe there is even a way to remove side effects and have more "predictability"?
  9. \slidep
  10. \vspace{\baselineskip}
  11. \\
  12. We are lucky. There is. It's called \textbf{Haskell}.