Quick! How many zeroes are in 1000000000000000? Large literal numbers may be a cinch for the computer to read, but they aren't very friendly to human eyes. Take 45 seconds …
Stop trying to remember octal permission codes. Instead use beautiful binary literals in your Ruby code!
In tests is it better to assert against model attributes, or against literal values? In this episode, you'll see why one option is clearly preferable to the other.
Use an obscure feature of Ruby integers to efficiently store large matrices of boolean data.
A quick episode about regular expression quoting.
This page is just for members. Sign in or subscribe to gain access! Username Password * Remember Me Forgot Password
Today we'll compare a few different ways to quote large, multi-line blocks of text.
Good morning diners! On today's menu, we have a deep exploration of Ruby's Range type. Even if you've used ranges before, you might find something new to chew on. Enjoy!
Some alternative ways to write symbols in Ruby code.