Hashes and arrays are two ways to organize data such as strings, integers, or symbols or a combination of these data in Ruby.
Coming back from a break while learning a programming language is hard. The longer time away, the harder it is. I am reminded of an experience a few years ago in which I took swimming for two terms at a local community college. The pool was outdoors and it was heated. Come winter term however, it was like someone turned off the heat! The instructor would motivate us for just getting in the water, you were allowed to leave if you decided it was too cold for you once you’d gotten in. Our lucky instructor never got in the water herself. Sometimes we did acclimate to the temperature, other times we all got out because it was too cold. Eventually we just got used to it made do. Later I heard that the college had cut the budget due to financial troubles, which explained about the pool.
In Ruby, two of the most basic ways to tell your program to execute certain code, or control flow, are the If and else conditional statements. Conditional statements allow us to run different code if different conditions evaluate to true.
I thought learning to code may be similar to landing in a new culture. You learn a bit each day, and become more exposed to the nuances of the culture, language, and norms observed. Until one day you find yourself having internalized the culture to a vast degree in a short time, and the language and the norms come more naturally, on demand.