Code Reading Adventures: Awesome Print Gem

Awesome print is a nice gem that formats your output in irb & pry to make it more readable. For example… This is what displaying a hash with awesome_print looks like: But how does this work? “Truth can only be found in one place: the code.” ― Robert C. Martin Let’s take a look at … Read more

Homepage

Become A Ruby Programming Expert With RubyGuidesThis library of 150+ in-depth guides explains complex programming topics in plain English so you can become a happy & well-paid Ruby developer!Discover all the secrets that separate beginner developers from professional developers today by clicking the button below . Yes! Help Me Improve My Ruby Skills Super Charge Your … Read more

A Quick Analysis of How Sinatra Works

Sinatra is a Ruby web framework. It’s like Rails little brother… Let’s explore how Sinatra works: What happens when you require Sinatra into your project? How does route matching work? How are requests & responses processed? So many questions, but so little time… No problem! I did the hard work for you & put together … Read more

The Hidden Costs of Metaprogramming

Metaprogramming sounds like a very fancy word, but is it any good? It can be useful, but many people don’t realize that using metaprogramming has some costs. Just so we are on the same page… What is metaprogramming exactly? I define metaprogramming as using any method that: Alters the structure of your code (like define_method) … Read more