Is Ruby a good programming language for beginners?
yes yes yes yes
>>59960670
No, go with python
No. And I say that as somebody who learned on Ruby first.
>>59961562
Definitely not.
All intro CS courses should be pure C
>>59961589
I learned c++ as my first language but c seems like best language for learning to program (regardless of it being a meme language)
>>59961562
SNEK
>>59960670
Go with JavaScript like all the cool kids.
>>59961562
agreed.
ruby even as a first language is ass. python makes for a great beginner language due to it's relatively simple syntax.
unless
>mfw im only on /g/ because I'm taking a break from using ruby on rails to code my very own personal blog
>implying you believe me
next step is to resize an image in gimp for coderelatedul {
margin: 0px;
padding: 0px;
list-style-image: url("arrow.png");
}
I love ruby and so do all of my boyfriends
Honestly no language is good for beginners. Some are slightly more forgiving, but learning your first language will suck no matter which one you choose. Learn the language you want to use, that is the best one to learn on. After you learn the first one the rest will come easy.
>>59960670
no
neither is >>59961562
Use a language that only has the basic building blocks: functions, loops, conditions
Sure it is.
>>59967171
>functions, loops, conditions
algol
>>59960670
Ruby is the best language if youre a beginner who wants a deep understand of how a language works from the ground up and not learn syntax superficially by rote. The only book that teaches Ruby at this deep level is "The Well Grounded Rubyist", you will be a Ruby expert after reading that book.
Ruby has the most readable code of any programming language and the syntax is most intuitive. Its the most practical scripting language for general scripting tasks.
Assembly x86-64. Anything else is a meme.
>>59960670
Yes and no.
If you learn Ruby first, all other languages will feel clumsy and dull for you. But it will make programming very easy and give you "instant gratification".
Usually I would recommend starting with something like Java or C first and THEN learn Ruby, to see how easy programming can be.
But if you want a low entry barrier, Ruby is a good idea.
Or try something like Python or Go, they are also good starting langauges.
>>59968059
>all other languages will feel clumsy and dull for you.
Horseshit.
>>59968065
How so?
I've tried a lot of languages and it's super hard to find something as smooth as Ruby. Maybe Haskell, C# with LINQ, or ECMA script.File.open("sample.txt", "w") { |f| f.puts "Hello file!"}
a, b = (1..10).partition { |i| i.odd? }
c = Array.new(5) {|i| i = rand}
c.sort
>>59968139
>{ |i| i.odd? }
>not&:odd?
learn ruby
This
>>59965389
Ruby was my first language, because I liked it.
now I'm learning JavaScript because I really like it.
learn a language you like, if you do not know what language you like.
learn Lua.
>>59960670
Started with Python. Do that first, then Ruby. Python forces you to have good syntax and it's an excellent habit to have.
>>59968843
I know how to use procs and blocks, I just wanted to give a clean example.
Just like I wrotec = Array.new(5) {|i| i = rand}
c.sort
and notc = (0..4).map{rand}.sort
TIM TOWTDI ftw..odd = ->(i){i%2==1}
a = [*1..10].select &odd
b = (1..10).to_a - a
p a, b
>>59968010
"The Well Grounded Rubyist" Is really a good book, I've learnt a lot from it.
>>59968888
>learn a language you like
Can't argue with quads.
>>59968888
Nice quads.
>>59962218
>ruby even as a first language is ass. python makes for a great beginner language due to it's relatively simple syntax.
>ruby is ass
>python is great because simple syntax
What the fuck? Ruby and Python have almost identical syntax