Ruby Programming

preview_player
Показать описание

MY UDEMY COURSES ARE 87.5% OFF TIL December 19th ($9.99) ONE IS FREE

Get Input 1:47
Arithmetic 3:11
Integers 3:24
Floats 3:42
Constants 5:23
Basic File I/O 5:52
Load Ruby File 6:56
Multiline Comment 7:27
If Elsif Else 7:42
Comparison Operators 8:45
Logical Operators 8:59
Unless 10:19
Case 10:58
Ternary Operator 12:14
Loop Next Break 12:19
While 14:21
Until 15:09
For Loops 15:48
Each 16:40
Functions 17:54
Exception Handling 19:28
Strings 21:47
Chop Chomp 27:45
Class Objects 29:29
Inheritance 33:19
Modules 34:23
Polymorphism 38:20
Symbols 40:11
Arrays 41:26
Hashes 45:43
Enumerables 49:21
File I/O 52:05
Рекомендации по теме
Комментарии
Автор

Learn in One Videos for Every Programming Language

derekbanas
Автор

As someone who is moving into Ruby after quite some years working with the likes of Java and (overwhelmingly) C++ I really liked this.
Most other content out there seems to target people who are getting into programming in general. I feel this gave me a lot of "forewarning" in regards to what to expect when diving into Ruby. The length and the pacing of information made it really good as a preview.

Great stuff

VileLasagna
Автор

As a developer, coming from another language to ruby, after watching this video I now feel as if I know enough to write most things in ruby. Great video.

jakecarver
Автор

Great video! It's so dense with information, I had to hit "pause" about 50 times, but it has no filler at all, everything is useful.

mrjohnp
Автор

Best way to teach. Most youtubers need a 10 minutes video to make a Hello World, it's lame.

elemento
Автор

Great intro to Ruby, thank you very much Derek! While watching the video, I crated a quiz for myself to review later. Your viewers might find it useful after they've watched your video, or to decide if they already know enough to not have to watch certain parts of the video.

how to log some text to the console? (1:30)
get data from user in console? (1:45)
convert a number to an integer (2:00)
puts vs. print (2:20)
string concatenation (2:30)
ruby file extension (3:00)
float math (4:00)
T/F everything is an object in ruby (5:00)
are constants changeable (5:30)
how to write a file object and read a file object (5:55)
load and execute another ruby file (7:00)
multi-line comments (7:30)
do you need curly braces around IF statements (8:15)
ending IF statement (8:35)
does elseif exist? (~8:35)
how to write and/or/not for conditional statements (9:05)
logical operator that returns 0 if first is equal, 1 if greater, -1 if less (9:50)
what executes code if conditional is false? If the conditional is true, code specified in the else clause is executed. (10:25)
add conditionals to outputs (10:50)
remove new line from user input when they hit enter (11:10)
equivalent of switch statement syntax (11:20)
how to break out of a case (11:45)
specify default in switch equivalent statements (11:50)
ternary operator syntax (12:15)
do loop (12:45)
single-line comments (12:55)
equivalent of "continue" in other languages (13:30)
break out of a loop (13:30)
while loop syntax (14:20)
until loop syntax (15:20)
array literal syntax (15:55)
two ways to loop through an array (16:00 and 17:00)
show variable value in string without string concatenation (16:20)
range syntax (17:25)
define a function, their params, return values, and do they need curly braces (17:55)
are number variables passed by reference or by value, and what's that mean? (18:30)
catch and throw errors (20:00)
what will 4/3 return, and why? (20:45)
how to throw your own exceptions (21:00)
catching specific kinds of exceptions (21:30)
are strings defined with single quotes, double quotes, or either? (21:55)
evaluate simple expressions inside of strings without concatenation (22:05)
add new line in string (22:10)
what's the DIFFERENCE between using single and double quotes to define strings? (22:30)
how to writ a string on multiple lines of code without concatenation (23:20)
check if a string contains a string (24:10)
get length of string (24:25)
count number of times something appears in a string (24:40)
check if string starts with a certain string (25:05)
get index location of a string within a string (25:15)
how to escape characters like quotes inside of strings (25:50)
how to see if two things are not only equal, but actually the same object (25:55)
how to uppercase/lowercase/inverse the case of your strings (26:30)
trim white space off strings (26:55)
remove the ends of strings (27:50)
delete all occurrences of a specific string within a string (28:15)
create an array from a string (28:25)
convert strings to integers, floats, symbol (29:15)
define a class with an initializer and properties (29:50)
define setters and getters for an object (30:15)
check if a string has any numbers in it (30:50)
create a new object (instance of a class) (31:20)
auto-create all getters and setters for your class (32:25)
create a method for a class (32:50)
how to create a class that inherits from another class (33:20)
what are modules? (34:20)
how many classes and modules can you inherit from when creating a new class? (34:30)
define a module (34:45)
equivalent of "this" in other languages when referencing the current object (35:10)
how do you import classes/modules from other files so you can use them? (35:50)
can you create multiple classes/modules within the same file? (36:10)
how do you inherit a module when creating a class? (36:25)
how to override a class's definition of a function with your module's definition (36:55)
how does polymorphism work in Ruby? (38:20)
how to make your class inherit from another class? (39:05)
what are symbols? (40:10)
what's the syntax to create a symbol? (40:35)
different ways you can create an array (41:30)
are arrays 0 or 1 indexed in Ruby? (42:35)
return multiple values from an array (42:50)
add/remove something from the beginning of an array (43:25)
add/remove something from the end of an array (43:40)
how to join two arrays? (43:55)
return how big an array is (44:15)
check if something is inside an array (44:25)
return number of times something you specify appears within an array (44:35)
check if there are no items in an array (44:50)
convert an array into a string (44:55)
how do you print out your array to the screen without a loop? (45:10)
what's a hash, and how do you create one? (45:45)
how to retrieve a value from a hash? (46:30)
define a default value for a hash, for keys with no value (47:20)
combine two hashes (both destructively and non-destructively) (47:40)
iterate through a hash (48:10)
check if a hash has a specific key, has a specific value, is empty, or is a certain size (48:35)
delete a key within a hash (49:00)
what does inheriting from Enumerable do, and what's the requirement to do so? (49:20)
check if a specific item has been provided in an enum (50:40)
return all the items in an enum that match your criteria (50:50)
how to open a file and append text to the end of it (52:55)
how to iterate through the lines of a text file (54:00)

daviddrayton
Автор

Fantastic video, easy to follow! I was looking for a video that taught ruby syntax but not programming theory. I'm sick of having to learn what a variable or polymorphism is every time I want to learn a new language!

jamalmoir
Автор

This video has been the best introduction (for programmers) to Ruby that I have seen so far. If you have a background in programming languages and you just want to get to know the language this is perfect. I am so tired of getting "Hello World"s and 30 min long videos on what a class is. Thank you! Your video was really helpful. Keep up the great work. :)

TomsonTheOne
Автор

Derek, your videos are probably the best tutorials on youtube, I simply love them (subbed!). Thank you very much for your efforts and never stop uploading :)

knownuser
Автор

You are a machine, the number of tutorials you make is incredible! You are clearly a genius.

patriciaholmes
Автор

Thank you for this! Voice, pace, and information is just perfect

QordaZ
Автор

your videos helped me tons to get though school. I've graduated and now landed a job using ruby on rails. Here you are again helping me! I appreciate your videos, I'm watching your rails tutorials next! Thanks a bunch!

ryanhaberle
Автор

For all of you saying the video is too fast, you can try to click the little settings icon at the bottom right of the video and set the speed to 0.5. It may be helpful if you can stand the audio at 0.5 speed.

DanielHMC
Автор

I appreciate that you make the tutorial fast and straightforward. It perfect for an already experienced programmer who needs to learn the basics of Ruby in a short time.

rachelvictoriaweber
Автор

perhaps add an annotation to the video letting people know you have time stamps in the description, those are very useful and encouraging.

JohnMcConnell
Автор

THANK YOU - this is how teaching should be done. YouTube HTML5 player with 2x playback speed + clear speaking get-to-the-point instruction = learned enough Ruby to write functional scripts over a lunch break. You need to make as many videos like this as possible. Again, thank you.

pedropagan
Автор

You don't beat around the bush. Great vid! Very helpful!

geodezix
Автор

Very nice tutorial, I practiced side by side, mostly listening to your explanations, often looking at the video and rarely pausing. I started with one file, as you explained new topics, I multi-line commented the previous topic and started with new topic. I now understand Ruby and also have a file with 400 lines of Ruby examples to refer to in case I forget something. I liked the fact that you talked to the point, you did not keep looping over the same stuff again and again, something I find very annoying and time consuming with other youtube videos. I also liked the fact that you covered everything in one video, no ads. All in all, superb.

rafiullahhamedy
Автор

You made my head spin lol. Fast and furious.

sounddesignsforyou
Автор

Watched this when I first got into Ruby programming, and just re-watched to brush up almost two years later. My code has a TON of notes on it, but I forgot how insanely helpful this video was to me. I'm surprised how thorough you are for the video being so fast paced. Thanks for helping me get back on the horse!

sammcob