Ruby programming tutorial. Ruby Symbols and Hashes.
★☆★ THE BEST EDITOR and IDE FOR PROGRAMMING ► http://bit.ly/Komodo-IDE-Learn-Ruby ★☆★
★☆★ SIGNUP TO GET MY RUBY BOOK FOR FREE ★☆★
http://bit.ly/free-book-signup
★☆★ FOLLOW ME BELOW ★☆★
Twitter ► http://bit.ly/jake-day-twitter
YouTube ► http://bit.ly/jake-day-youtube
Facebook ► http://bit.ly/jake-day-facebook
SoundCloud ► http://bit.ly/jake-day-soundcloud
★☆★ NOTES ★☆★
Amazon Auto Links: No products found.
I love having background music in vids, great choice at the beginning
Which album was it playing at the end! 😀
This happens when I try run it: ruby ages.rb
ages.rb:4: syntax error, unexpected tSYMBEG, expecting ‘}’
:Johnson => 25,
^
endre-c1ml2d4cdty3:ruby elev$
why?
Hi Jake,
I’ve been trying to download/purchase your book. I’ve submitted by email twice on your site and it hasn’t sent me a link or anything. Any way you could help, or expedite the process?
Thanks for the videos I’ve watched 21 of the 24 in the last 24 hours and just wanted to give you props. You’re videos are well organized and professional and I appreciate the effort you put into them!
Loving the jazz too…. great haha
Loving the jazz.
Hello Ariel, It’s Jake from Learn Ruby. Symbols are immutable. Mutable objects can be changed after assignment while immutable objects can only be overwritten.
Definition of Mutable: Liable to change.
Definition of Immutable: Unchanging over time or unable to be changed.
Here is a link with more details and examples that explain it perfectly and concisely. http://www.reactive.io/tips/2009/01/11/the-difference-between-ruby-symbols-and-strings/
Thanks for subscribing!
sir, in that case which is faster sym or str? or what is the benefit on use sym instead of str?
i was going nuts trying to figure out what i did wrong and i left out the coma on every one of them