How is Ruby these days?

Asked 2 years ago, Updated 2 years ago, 28 views

These days, I am learning Ruby to develop web development or crawl.

But when I heard it, there was very little talk about Ruby Mostly just Python stories.

The reason why I chose Ruby is because of its beautiful grammar, block syntax, and web development characteristics, but I personally find the method of arranging things more intuitive and easier to use than Python.

I wonder if it's right to choose Ruby for these reasons alone. Compared to Python, the community is smaller, so I think it will be hard when there is a problem later.

And I know that there was a case of Twitter changing languages due to Ruby's poor scalability, and I want to know what Python scalability is like. You can't give up Ruby because of its scalability It's true that it's hard to think of scalability.

Many people say that language is only a tool when you write such an article, but like words, language is only a tool, but I think language is also a skill. Isn't there a problem if I give you an electric saw and you can only get the same performance as a normal saw? I don't fully understand that you can learn and use the language you need at that time, and I don't think you'll be able to take advantage of the language's strengths. (And Ruby and Python are at a crossroads because one of the two is enough.)

For example, a person who has learned another language simply checks how Ruby's grammar is different and uses it to output elements in an array (may not;)

a = [1, 2, 3, 4, 5]

for i in 0..a.size

puts a[i]

end

People who learned ruby would say that

a.each { |x| putts x} Like this

The biggest reason why I'm writing like this is that I've been told to do Python a lot about why I'm learning Ruby now. When asked why, I only got an answer that there are many libraries and they have better performance than rubies. Ruby doesn't seem to lack libraries, and there's not much difference in performance.

Finally, I wonder what you think of Ruby.

ruby python

2022-09-22 13:19

1 Answers

Ruby's community size is only small compared to Python, but quite large.

There is no shortage of information. If performance is a top priority anyway, Python is not one to consider.

As I work, I sometimes use Python, and there are parts I learn while using Python.

Rather than choosing between two languages, it would be constructive to think that you would dig up Ruby first and then look at Python later

Finally, Ruby is love.


2022-09-22 13:19

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.