Advertisement

A picture is worth a thousand lines of code

Principal Engineer, Cloud Software at Nokia Technologies
Mar. 13, 2018
Advertisement

More Related Content

Advertisement

A picture is worth a thousand lines of code

  1. One picture is worth a thousand lines of code Vlad Știrbu TampereJS Meetup 08.03.2018
  2. Unified Modeling Language  General-purpose, developmental, modeling language in the field of software engineering  Intended to provide a standard way to visualize the design of a system
  3. UML Diagrams
  4. Finite State Machines  States  Events  Actions and transitions  Guards
  5. FSMs and Event-Driven Programming  Many software systems are event driven  Event handling explicitly dependent on both the event-type and on the state of the system  Reduce the number of execution paths through the code
  6. FSM JavaScript libraries  fsm-as-promised  javascript-state-machine  machina  xstate
  7. Live demo in Visual Studio Code…
  8. Architecture
  9. Conclusions  Standard way to visualize the system  Compact, easy to follow execution paths  Direct use as documentation
  10. Resources  https://github.com/vstirbu/fsm-as-promised  https://marketplace.visualstudio.com/items?item Name=vstirbu.fsm-viewer
  11. Questions vstirbu@gmail.com

Editor's Notes

  1. Behavior diagrams illustrate the behavior of a system and are used extensively to describe the functionality of software systems.
Advertisement