learn

learn
Let vs. Let! vs. Instance Variables in RSpec

Let vs. Let! vs. Instance Variables in RSpec

Jul 19, 2018 - 4 min read

A common source of confusion when using RSpec is whether to use let, let!, or an instance variable, for storing state. In this article I’ll try to explain the difference between let, let!, and instanc...

If vs. Unless in Ruby

If vs. Unless in Ruby

Jul 9, 2018 - 3 min read

Do you find unless to be confusing? I know I do. Especially if it’s combined with one or more boolean operators....

Ruby's Sort and Sort_by

Ruby's Sort and Sort_by

Jul 8, 2018 - 6 min read

The Ruby sort method works by comparing elements of a collection through the spaceship operator, and using the quicksort algorithm....

Why You Too Should Learn Elixir

Why You Too Should Learn Elixir

Jul 8, 2018 - 8 min read

Learn Elixir not because you will get a better job out of it, but because learning functional programming will make you a better programmer....

What Is a Ruby Reducer?

What Is a Ruby Reducer?

Jul 7, 2018 - 3 min read

The term comes from the world of functional programming, and it’s often paired with map. You’ve probably heard the term map/reduce if you’ve been in the programming world for more than a few months....

Learn How to Use Ruby Arrays in Less Than 10 Minutes

Learn How to Use Ruby Arrays in Less Than 10 Minutes

Jul 3, 2018 - 9 min read

Arrays are probably the most popular data structure you’re going to use in Ruby. Learn what you can do with them and how to use them effectively....

How to Use the Each Method in Ruby

How to Use the Each Method in Ruby

Jul 2, 2018 - 6 min read

When it comes to doing the same thing over and over again, Ruby has a few methods you can choose from. But in this article we're going to look at the each method and what you can do with it....

What Is Ruby Used For?

What Is Ruby Used For?

Jul 1, 2018 - 3 min read

If you hang out in any of the web development communities, there’s no way you don’t hear about the Ruby programming language. Why is that?...

Understanding Boolean Operator Precedence in Ruby (&&, and, ||, or)

Understanding Boolean Operator Precedence in Ruby (&&, and, ||, or)

Jun 30, 2018 - 3 min read

Operator precedence might be one of the most confusing parts of the Ruby language. Even the docs recommend you just use && and ||....

STAY IN THE KNOW

Get exclusive content (tips & tricks, discounts, exchange ideas, etc.) that you cannot find on the blog.
    We won't send you spam. Unsubscribe at any time.
    Built with ConvertKit