Do i need to learn ruby first?

Hi guys, i have a quick inquiry: I’ve never used Ruby before. Would it be advisable for me to learn Ruby first before delving into Crystal? If it so, could you explain why it’s necessary?

1 Like

I didn’t learn Ruby until after I found Crystal, and I found the experience to be perfectly fine. So no, I don’t think you need to learn Ruby first.

7 Likes

No.

Once you find a hidden language like Crystal and become interested in it, you are qualified to use it.
Programming beginners usually do not encounter the Crystal language. It takes active awareness to find it.
And Crystal has found you.

5 Likes

There are pros and cons. The main pro of learning Ruby first is that you’ll be more familiar with the syntax and some of the APIs. The main con I found, as someone with a lot of Ruby experience, is that the areas where it doesn’t follow Ruby may actually add confusion.

Despite its roots, Crystal is very much its own programming language. You can learn it without learning Ruby.

1 Like

Yeah crystal is its own language, but when I started learning ruby, there wasn’t much resources and someone pointed out a smalltalk book and that cleared up the air a bit. It might just spark some syntax awareness in ya, if you have just a basic knowledge of ruby. But crystal is definitely its own beast, with things borrowing from ruby.

I am a complete beginner and have barely touched PHP. I don’t know English and need to use translation software. Today, I started trying to learn Crystal. I don’t like programming languages with too many punctuation marks, and in this regard, Crystal meets my requirements very well. Since I don’t know English, I can only use Chinese variables.

image

8 Likes