-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session 1 Notes: 19-nil.rb maybe explain | and {}? #18
Comments
Hi, Keith. I don't see a The Going to leave this open so that when I have a bit more time, I come back to it and decide if I should do this. |
Josh, thanks for looking into it! I'm sorry I completely forgot to mention what section it was: session 1 notes: It would be nice if there was an explanation on lines 6-7 because the pipe symbols felt like new syntax (I'm a javascript programmer by default) and I couldn't find any previous notes that cover the pipe symbols. For example, if I were to rewrite it, I would say something roughly along these lines:
Again, I'm no expert in Ruby, I'm sure you can explain it much better than I did. I just felt that the pipe symbols lacked an introduction, which was a problem for me as I am new to the Ruby syntax. |
Going through the tutorial right now, I am confused as to what the
{...}
and the|number|
mean in these two lines:Could not find an explanation in earlier notes so I had to look them up. Figured it out in the end on my own, but it would be nice if a note covered this.
The text was updated successfully, but these errors were encountered: