Conclusion

Let's recap what we have learned and look at what lies ahead.

We'll cover the following

By creating the hangman game, we learned several things about programming in Ruby. Other coding languages have the same basic rules but the syntax can vary.

Summary

Here are some important lessons we learned by coding the programs in this course:

  • The machine does nothing by itself, we give all the instructions to follow on how to make the service we want. We must have a good idea of what we want before proceeding so that we can define the instructions.

  • We must test again and again. Test always. Even the slightest change could break what has been built so far. We can help ourselves by writing programs that test our programs. We only did this partially here — once for the routine that builds the information about the hidden word and once for the routine that loads the dictionary of words.

Get hands-on with 1400+ tech skills courses.