[x] Estimate all the top-level tasks with T-shirt sizes: S, M, L, XL
[x] Begin your wiki (please finish this by 5 so I can use the feedback in shaping plans for tomorrow)M
[x] Create a new page in your TIY-Assignments wiki called Assignment Evaluation. Write down your thoughts on the prework. Were the expectations clear? What parts really connected with you? Could any topics have been presented better? Was any of the assignment a review for you?
[x] Create a second page in your TIY-Assignments wiki called Light Bulbs. Write down things about Ruby and git that you understand already.
[x] Create a third page in your TIY-Assignments wiki called Things I Don't Get Yet. Write down current struggles.
[x] Edit your wiki (please do these as your final tasks)M
[x] Add your thoughts on this assignment to the Assignment Evaluation page. Same guidelines as for the prework, plus: Did the lecture feel connected to the assignment? How long did you spend on the whole thing? How long did you estimate before you started?
[x] Update Light Bulbs and Things I Don't Get Yet to reflect how you feel at the end of the day.
[x] Use the Terminal in your computer to:L
[x] create a branch of your TIY-Assignments repo which you cloned from GitHub, called feature/01--I-love-my-gramma(r), with git branch
[x] switch to the branch you just created with git checkout
[x] Create at least one file and directory as described above in Deliverables.
[x] Add and commit your work with git status, git add, and git commit
[x] Push your commits to Github with git push
[x] In Github, open a PR fromfeature/01--I-love-my-gramma(r)intomaster
[x] Data Types -- Document what you know about the four data types we've worked with and commit once for each data type. I've outlined the format you should use below, using as an example a special bonus data type! L
[x] Checkpoint: Created and committed an empty file called docs/data_types.md!
[x] Checkpoint: Committed documentation of the first data type!
[x] Checkpoint: Committed documentation of the second data type!
[x] Misson Complete: Commited documentation of all data types!
What does it mean? It's a sequence of numbers or letters that has no gaps in it.
How do you make one?(7..11) #contains 7, 8, 9, 10, and 11.
Why would you want one of those? You could get every year since the Declaration of Independence was signed with (1776..2015). Or if you want every day in February, that could be represented as (1..28). You could even grab every letter of the alphabet with ('a'..'z').
What can you do with a range?
# You can find if something is inside a range:
(1..10).include?(5) #=> true
(1..10).include?(300) #=> false
# You can find out how big it is:
(1..10).size #=> 10
(1776..2015).size #=> 240
# You can iterate over it:
(13..19).each{|n| print "#{n} " } #=> 13 14 15 16 17 18 19
### Additional Resources
We should take a few minutes to go over some of the hash problems, and I might put an extra short lecture together for those of you who are hung up on git/GitHub.
Requirements
Tasks
TIY-Assignments
wiki called Assignment Evaluation. Write down your thoughts on the prework. Were the expectations clear? What parts really connected with you? Could any topics have been presented better? Was any of the assignment a review for you?TIY-Assignments
wiki called Light Bulbs. Write down things about Ruby andgit
that you understand already.TIY-Assignments
wiki called Things I Don't Get Yet. Write down current struggles.TIY-Assignments
repo which you cloned from GitHub, calledfeature/01--I-love-my-gramma(r)
, withgit branch
git checkout
git status
,git add
, andgit commit
git push
feature/01--I-love-my-gramma(r)
intomaster
docs/data_types.md
!Notes
Data Type Documentation Format
Range
(7..11)
#contains 7, 8, 9, 10, and 11.(1776..2015)
. Or if you want every day in February, that could be represented as(1..28)
. You could even grab every letter of the alphabet with('a'..'z')
.