- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
I’ve been thinking of going into ruby. Presently in java.
Java is bringing me down. It’s so heavy and fat.
I hear good things about ruby.
I just want simple oop.
So since we’re kinda in the same vicinity, what you think of ruby?
I don’t have a ton of experience with ruby, ironically I have more experience with crystal.
I like the syntax of ruby, and the community. It has a lot of nice Qol features and useful methods. I hate the tooling however, especially on Windows. I’ve yet to see a fully working syntax highlighting of ruby, let alone a working lsp.
99% of the ruby community is focused on webdev (rails). If you’re working outside of that, what you’ll find in terms of packages and whatnot is not much better than more niche languages.
The core design of ruby is very simple, pure OOP, everything is methods and objects, as well strong functional programming with block and higher order functions like
filter
andmap
. It’s quite nice. The implementation however, is quite complex. Many if not most methods are aliased to at least one other, e. gsize
is the same aslength
, as well as methods which are just opposites of others, like.odd?
and.even?
. Ruby absolutely does not fall into the camp of “there should be one preferable way to do anything”.thanks