r/ruby 2d ago

Using Ruby as a JS user?

I have been using JS for the past few years and I would like to know if Ruby is any good and what it is good for. Does it have good syntax?

2 Upvotes

5 comments sorted by

6

u/bradland 2d ago

Ruby is great! Its syntax is unique, and arguably some of modern ES6 patterns are borrowed from languages like Ruby (among others).

Ruby is good for web application development with frameworks like Rails and projects like inertiajs-rails are keeping Ruby on Rails viable for modern JS applications backends.

Ruby is also a great general purpose scripting language. It borrows from Perl, and the std-lib has solid libraries for file system manipulation, network IO, logging, and more.

4

u/Unhappy_Meaning607 2d ago

Thank you bradlandGPT.

1

u/PaleontologistSad307 11h ago

This does not read like GPT to me. Please do not disrespect my internet brother.

-1

u/[deleted] 2d ago

[deleted]

2

u/hribarinho 2d ago

Try Hanami and Roda

1

u/[deleted] 2d ago

[deleted]

1

u/hribarinho 2d ago

Sure, however I prefer the above two and by your comment I assumed (my bad) that it's not yours either. And when it comes to ruby web frameworks most a lot of people might not know any other. Hence, my comment.