Best-Ruby
Ruby Tricks, Idiomatic Ruby, Refactoring and Best Practices (by franzejr)
fast-ruby
:dash: Writing Fast Ruby :heart_eyes: -- Collect Common Ruby idioms. (by fastruby)
Our great sponsors
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Best-Ruby
Posts with mentions or reviews of Best-Ruby.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning Best-Ruby yet.
Tracking mentions began in Dec 2020.
fast-ruby
Posts with mentions or reviews of fast-ruby.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-06.
-
Sorry for this noobest question
In this perspective, maybe the compilation of approaches by Fast Ruby provides a similar point of entry.
-
Understading why attr_accessor in Ruby is faster than a regular method
Great article! I'm one of the maintainers of the `fast-ruby` project and I was glad to see that we have a benchmark for those idioms over here: https://github.com/fastruby/fast-ruby/blob/master/code/general/attr-accessor-vs-getter-and-setter.rb 🤓
-
Super readable String operations with `delete_prefix` and `delete_suffix`
Stylistically, chomp has a bit more of the whimsy that you might expect from Ruby, while delete_suffix is a nice mirroring of delete_prefix and more explicitly named. Both have similar performance benchmarks and are faster than sub.
-
Ruby 3.0.0 Released
If you’re interested in speed, check this repo: even among Ruby idioms there are big speed differences.
https://github.com/JuanitoFatas/fast-ruby
What are some alternatives?
When comparing Best-Ruby and fast-ruby you can also consider the following projects:
Ruby style guide - A community-driven Ruby coding style guide
Rails style guide - A community-driven Ruby on Rails style guide