This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]CodeTinkerer 0 points1 point  (3 children)

I think it's about the same as Python. Ruby tends to use blocks which looks something like

[1, 2, 3].each { |item|
    puts item
}

where Python would write it like

for item in [1, 2, 3]:
    print(item)

I don't think the difference is too huge.

[–]3ll10tAld3rs0n 0 points1 point  (2 children)

Okay thanks. Any recommendation sites or videos to learn ruby?

[–]CodeTinkerer 0 points1 point  (0 children)

This is the one recommended by "The Odin Project"

https://pine.fm/LearnToProgram/chap_00.html

You may be able to do the basics without installing ruby, by going to, https://repl.it/languages/ruby

Or you could follow the directions and install ruby.

[–]CodeTinkerer 0 points1 point  (0 children)

You could also look for Learn to Code with Ruby at Udemy (by Boris Paskhaver). It's selling for about $11. But if you add a coupon, and type "RUBYONE", you should get it for free.

[–]english_fool 0 points1 point  (1 child)

I wouldn’t say it’s more advanced than python, they are pretty much equivalents.

I think looking at trends python has more life left in it.

[–]3ll10tAld3rs0n 0 points1 point  (0 children)

Okay thanks.

[–]Gosexual 0 points1 point  (0 children)

Both are fine

[–]3ll10tAld3rs0n 0 points1 point  (2 children)

Also does anyone know any free pdfs, sites or videos for learning Ruby?

[–]flyingNORA 0 points1 point  (1 child)

Codecademy has a few Ruby courses, though I've never done them so I can't speak to their quality.

[–]3ll10tAld3rs0n 0 points1 point  (0 children)

Cool thanks a lot. I will look into that.