Video icon 64
Learning to code? Skill up faster with our practical video courses. Start your free trial today.

State Diagrams

  • Tools & Tips
    How Using State Diagrams Can Make You a Better Web Coder200
    One tool that should be in your web coding arsenal is the state diagram. A state diagram shows the various "states" (reactions) that your application (e.g., web site) can be in, as well as what action or input (from the user) is necessary to get to a specific state. A state diagram helps to make concrete in your mind all of the possible user/application interactions. This increases the chances that you'll at least consider coding for all possibilities simply because you now know them all - which reduces the chances that you have buggy code or worse, forgot to handle specific functionality. Read More…