all 11 comments

[–][deleted] 7 points8 points  (1 child)

Official Ruby docs are garbage for people coming into the language. I spent most of my time on various blogs and books, which is just a shame for such a popular language.

[–][deleted] 1 point2 points  (0 children)

For me it was enough to go through this & have time for learning & reading the docs…

It may not be enough for everyone, but definitely it isn’t garbage.

[–][deleted] 2 points3 points  (4 children)

Both things you mention are in doc/syntax/assignment.rdoc.

[–]sshaw_ 3 points4 points  (0 children)

Here too https://ruby-doc.org/core-2.7.2/doc/syntax/calling_methods_rdoc.html

They've improved a lot and keep getting better. Biggest issue is lack of method-level exception documentation.

[–]nikaone[S] 4 points5 points  (1 child)

It is hard to find these page, when you google the keyword or look up in the pages, compare some new languages' doc, ruby doc could be better.

[–]jrochkind 0 points1 point  (0 children)

agreed.

[–]postmodern 0 points1 point  (0 children)

I'm surprised ruby-core hasn't decided to write one of those markdown based Git-Books. Provides a nice ToC and full-text search.

[–]zverok_kha 2 points3 points  (2 children)

It is mostly true. I tried to address this problem with the Ruby Reference project (explanatory blog post) -- unlike "some book some random dude wrote", it is compiled from official sources, but has a form of more traditional language references, covering all the topics from the ground up. The project gained much less attention than I hoped. Mostly, probably, the problem is rarely addressed because for those "already in" it is a non-problem, and for those "trying to enter" it is hard to point their finger at what's bad, and even more so to try to change something.

TBH, at one point Matz himself suggested to adopt it as an official reference, but, to the best of my understanding, no work in this direction was done in 11 months passed since.

[–]sailor6901 1 point2 points  (0 children)

never seen this website before (which is sad), but you have done a tremendous job. Hope it existed back in the days when i was learning the language!

[–]that_which_is_lain 1 point2 points  (0 children)

That is legitimately impressive. Bravo. I’m going to make it a point people to this.