In this quick bite, we DRY up some arithmetic.
Tag: math

Episode #258: Bitwise Operations with Peter Cooper
Guest chef Peter Cooper drops some binary science in today's episode!

Episode #206: Coercion
Ruby generally doesn't allow mixing of types without explicit conversion. So have you ever wondered why it's possible to multiply 2.3 (a float) by 5 (an integer)? In today's episode …

Episode #142: Infinity
In today's episode, we'll simplify our thread-safe queue code by employing a "benign value" to represent the default max queue size.

Episode #118: Even And Odd
A small dish today, about some numeric methods I often forget exist.