Last week you started creating your own objects in Ruby. This week you will be working with something called Object-Oriented Design. There is a great resource called Practical Object-Oriented Design in Ruby (book) (affectionately pronounced "Poo-Dur"). There isn't a free copy online, so use the mighty power of google (and the free book preview on Amazon) to introduce yourself to the fundamentals of object-oriented design.
Don't forget your Unit Goals (listed below)!
- "Git Started"
- Testing with Assert Statements
- Drawer Debugger
- Creating a BoggleBoard Class
- Creating a PezDispenser Class - SOLO CHALLENGE or Create a Playlist from Driver Code - SOLO CHALLENGE
- Refactoring for Code Readability
- Technical Blog
- Cultural Blog
- BONUS Creating a Car Class from User Stories
It's time to fetch the new curriculum from Devbootcamp/phase_0_unit_2. Use these instructions and modify them to use phase_0_unit_2 (instead of phase_0_unit_1). Try using the "command line" instructions!
Open your local version of the directory in Sublime. Make your changes and commit/sync as you complete challenges. Try using the command line as much as possible to navigate between directories and run files.
Make sure to include specific commit messages and sync your changes each time you complete a challenge.
You need to submit your work on the Unit 2, Week 6 submission form on apply.devbootcamp.com by Sunday at 11:59pm. Expect to submit the links from your repo for each challenge above.
- Pair at least once this week with a member of your accountability group. You need to pair 4 times this unit
- Give feedback for each person you paired with. You need to submit at least 5 pieces of feedback in this unit (4 for peer-pairing, and 1 GPS)
- Rate at least 7 pieces of Meta Feedback on Socrates. *You need to rate 20 pieces of feedback per unit.
You now know enough to fix broken links in your repo! If you run into a 404 error navigating through the directory online, go to the file where the error is, see what the link is. Is it to an internal or external file? If internal, do you see a file named something similarly in the repo? If so, you'll want to figure out why the link is broken and fix it. If it's to an external resource, Definitely let us know if a link is broken so we can fix it, but take some time to research it as well.
These are for reference if you want some additional sources.
- Practical Object-Oriented Design in Ruby (POODR - book) HINT: work through one of your challenges as you read
- Writing our own Class in Ruby
- Ruby Classes and Objects
- Introduction to Refactoring
- Ruby for Newbies
- Ruby Variable Scope
- GangesLearning (Videos)
- The Well-Grounded Rubyist (Book) - This is a really great Ruby reference. We recommend getting it.