Skip to content

Latest commit

 

History

History
 
 

section3

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Section 3 - HOW YOU SPEND YOUR TIME, Arrays and Hashes

Section 3 is estimated to take a total of 6-10 hours to complete. Similar to the previous sections, this section of the project involves 📒reading, 👩🏻‍💻exercises, and 📝reflection questions. Make sure to manage your time well so that should you get stuck and need help, you have plenty of time to do so and meet the deadline.

Since Arrays are a bigger topic, it is the main focus of this section. Some review work from the first two sections has been woven in so you get opportunities to continue seeing and applying those concepts, as well.

Vocabulary

  • Array
  • element
  • Hash
  • key
  • value

Open your local copy of this project

Using your terminal, open the local copy of the repository that you created during setup. To do this, you will need to use the terminal command cd to change into the directory that holds the repository. Once you are in the correct directory, use the terminal command atom . to open the project repository.

Part A How You Spend Your Time

One challenge developers face, moreso when they are starting out, is estimating how long something will take. Sometimes we don't account for merge conflicts, bugs, annoying Slack messages, and all the other things that interrupt our workflow or slow us down.

One challenge learners in a new environment/content area face is feeling like they know nothing, and until they know everything, they feel like they are failing.

So this week, we would like you to start self-monitoring your progress. Before you start on the technical work, reflect back on how the project has gone so far.

  • Have the time estimates matched up with your experience?
  • When you sit down to start working, do you have a clear goal of what you want to accomplish and in how much time? If so, how aligned is that to what actually happens?
  • How do you work best - in 2 hour blocks, 4 hour blocks, etc? Do you take breaks regularly? Do you have a system to hold yourself accountable to taking breaks?

You've probably heard of the Pomodoro Technique in Mod 0 classes (and elsewhere, maybe!). During this final section of the project, we are going to ask that you follow this technique. Please read about it here. The article doesn't mention writing down Step 1, but we ask that you find a special spot in your notebook where you do this for each work session. In the deliverables, we will ask that you share what you wrote down for Step 1 of the technique each time you started a new task. Note: if the 25 minutes on/3-5 minutes off isn't best for you, you do not have to follow that! The main focus of this is setting an intention and continuing to better understand your working style.

Part B Arrays and Hashes

Today you will learn about two common data types: Arrays and Hashes.

When you are all done with the lessons, exercises, and questions for today, you will once again use git to save your work locally, and then push your work to GitHub.

  1. Work through the following lessons. Any files that you create while working can be kept in today's exercises directory.

    • Read about what an array is from Learn Ruby the Hard Way.

    • Learn how arrays are index-based from Learn Ruby the Hard Way.

    • Hashes from Learn Ruby the Hard Way.

    • Hashes from Ruby in 100 minutes.

  2. Work through the arrays.rb file in the section3/exercises directory.

  3. Work through the hashes.rb file in the section3/exercises directory.

  4. Answer the questions in the reflection.md file in the section3 directory.

Reflection

📝 Answer the questions in the reflection.md file in the section3 directory.

Save your work in Git

When you are finished with all of the section3 activities, use the Git workflow and commands you've learned to add and commit your work. Write a commit message that concisely summarizes what work this commit contains. If you need a refresher on that workflow, look at the Mod 0 lesson where this was covered, of the directions in Sections 1 or 2.

Push to GitHub

Push your code to your remote repository. If you don't remember the command, look back at the directions in Sections 1 or 2. Visit your GitHub repository to verify the work you did for this section was pushed successfully!

Index Links

🚀 Go to Final Prep