Excellent set of videos. I am a programmer and coming with loads of C/C++ Java coding experience. My objective was to get up to speed and run. These articles met my objective. Also I think the material will help someone with minimum programming experience. Well Done!!.
Love your videos! they are amazing because of the super interesting stories interspersed in your lessons. Btw I have been 16 years in the industry .. and still find your videos amazingly refreshing and inspiring!
Thanks for letting me know you like the stories. I thought they would be a good way to diversify and breath life into the lessons. I plan to continue telling them. It would be cool to create programming lessons that are entertaining and informative like Vsauce and RadioLab.
Hello. Great tutorials. Really helping me out so thank you. 6.37 How do you open and close a block bracket on mac? Really struggling to find it out. Probably a stupid question! Thanks.
How do I capitalize the first letter of each word in a string? i.e. best_movie = "seven samurai" How would I capitalize both "s" to: print best_movie #=> Seven Samurai? Thank you for the videos!
Autoshotjosh when you type end, it expects the $ in front of it, but you don't need it at all. Just take the whole entire line out: 1.my_name = "name" 2.puts my_name.capitalize 3.puts my_name.upcase 4.puts my_name.downcase 5.puts my_name.reverse 6.puts my_name.length and save it and transfer it to your command prompt with Ruby. He just put the $end in there for tutorial purposes.
Autoshotjosh when you type end, it expects the $ in front of it, but you don't need it at all. Just take the whole entire line out: 1.my_name = "name" 2.puts my_name.capitalize 3.puts my_name.upcase 4.puts my_name.downcase 5.puts my_name.reverse 6.puts my_name.length and save it and transfer it to your command prompt with Ruby. He just put the $end in there for tutorial purposes.
I made a mistake. $end means the end of the file, rather than an operation. Often when an "end" is missing Ruby will return the message "unexpected $end, expecting keyword_end." This means that the parser reached the end of the file while it was looking for the word "end". I told ruby it was the end of the file. Which was fine in this case because we weren't inside any open-ended statements. Loops for instance. Thanks for calling it to my attention Adil. I will annotate the correction.
Do you really need to put '$end' at the bottom of the code? I didn't do this and every worked just fine, I thought you only need to put that at the end of functions/methods...
#!/usr/bin/env ruby star_wars_seven = "Jar Jar Binks Han Solo Luke lens flare" puts star_wars_seven [15] execute run returned 97 not a ???? can you tell me what i did wrong
You're seriously complaining about him giving out interesting facts in a FREE tutorial video he's kind enough to share? Stop whining and just appreciate. Douche-bag.
Excellent set of videos. I am a programmer and coming with loads of C/C++ Java coding experience. My objective was to get up to speed and run. These articles met my objective. Also I think the material will help someone with minimum programming experience. Well Done!!.
what is the difference between end and $end ?
In Codeacademy i had to use end not $end.
when to use which end?please explain me .
thanks .
I like how you motivate us while learning. You are the best tutor.
thanks for these videos :) been learning about ruby alongside javascript. really enjoy your book recommendations too
Love your videos! they are amazing because of the super interesting stories interspersed in your lessons. Btw I have been 16 years in the industry .. and still find your videos amazingly refreshing and inspiring!
Thanks for letting me know you like the stories. I thought they would be a good way to diversify and breath life into the lessons. I plan to continue telling them. It would be cool to create programming lessons that are entertaining and informative like Vsauce and RadioLab.
Why did you include the $end syntax ? @this part of the video 1:26 ?
Thanks Jacob for your hard work.easy to understand.
You're welcome Rajeev. Glad you're understanding it all.
gotta love that up arrow on the command line, Jake! :) Thanks for the great tutorials.
I was taking a lot of smoke breaks in these earlier ones.
"This is overwhelming, I need a drag."
Great tutorials!
like how do we target two individual letters in the string ..... for example the 'a' in Han (which you told) and "l" of Luke??? plzzz help.....
please keep the good work going ,hw can i get the paper back of your book as i don't have a kindle yet ? thanks
Thanks for the video!
Sir.. Ur lesson superb and small doubt why using end statement
thank you man thanks a lot for these tutorials...
i'm having a problem with [15]. it's returning the number 97 to me instead of targeting and returning the "a."
do you know why this would be? thanks!
Hello. Great tutorials. Really helping me out so thank you.
6.37 How do you open and close a block bracket on mac? Really struggling to find it out. Probably a stupid question!
Thanks.
Stupid question! FOUND THEM!
Is it necessary to leave an empty line after 2. , or he's just doing it because it looks better?
BadDudes A-Bomb the blank line doesnt matter here. I have tested it without the blank line
How do I capitalize the first letter of each word in a string? i.e. best_movie = "seven samurai" How would I capitalize both "s" to: print best_movie #=> Seven Samurai?
Thank you for the videos!
Can you give link to twitter book pls?
I like your videos have a plus , those 'motivational' parts !
why is it that when we end this code we have to put "$end" the money symbol as opposed to the other tutorials that just ended the code with "END"?
Heyy love your vids! just wondering how u make that S in send
Don't worry about $end. It isn't necessary.
ps. It's a dollar symbol.
Wild Academy I typed end instead, and it told me it was expecting $end could you explain why please?
Autoshotjosh when you type end, it expects the $ in front of it, but you don't need it at all. Just take the whole entire line out:
1.my_name = "name"
2.puts my_name.capitalize
3.puts my_name.upcase
4.puts my_name.downcase
5.puts my_name.reverse
6.puts my_name.length
and save it and transfer it to your command prompt with Ruby. He just put the $end in there for tutorial purposes.
Autoshotjosh when you type end, it expects the $ in front of it, but you don't need it at all. Just take the whole entire line out:
1.my_name = "name"
2.puts my_name.capitalize
3.puts my_name.upcase
4.puts my_name.downcase
5.puts my_name.reverse
6.puts my_name.length
and save it and transfer it to your command prompt with Ruby. He just put the $end in there for tutorial purposes.
chevyman882 Thanks!
whats the difference between end and $end????
why we used $end here ?
I made a mistake. $end means the end of the file, rather than an operation. Often when an "end" is missing Ruby will return the message "unexpected $end, expecting keyword_end." This means that the parser reached the end of the file while it was looking for the word "end". I told ruby it was the end of the file. Which was fine in this case because we weren't inside any open-ended statements. Loops for instance. Thanks for calling it to my attention Adil. I will annotate the correction.
hi...how to capitalize the first letter of each word in a string while the rest of the characters retains it's case
What is the purpose of send
I am new to ruby programming and my question is how to convert the given string from the user into an array.
Do you really need to put '$end' at the bottom of the code? I didn't do this and every worked just fine, I thought you only need to put that at the end of functions/methods...
you don't have to
You're the man bruh
can some one explain to me why he ended the program with $end instead of just end.
#!/usr/bin/env ruby
star_wars_seven = "Jar Jar Binks Han Solo Luke lens flare"
puts star_wars_seven [15]
execute run returned 97 not a ????
can you tell me what i did wrong
little did he know star wars 7 The force awakens would come out in 2015 and it has Luke and han solo
SMAILLIWYADEKAJ hahaha, such a great pronunciation!!
Haha. I freakin' nailed it. :D
Wild Academy haha, it's great!!, I wanted to thank you for uploading this videos, they're amazing!! Keep up the good work!!
Ruby look like Perl
If you show the real applications of ruby, it will be more helpful!
noone cares about the founders of twitter...
I do.
It's just frustrating trying to learn this stuff and then having useless information along with it
Andrey Prikhodko Well, you're going to have a lot of frustrations being a developer. The book does have useful information in it.
I have to disagree. I find all that info really interesting.
You're seriously complaining about him giving out interesting facts in a FREE tutorial video he's kind enough to share? Stop whining and just appreciate. Douche-bag.