Calle Erlandsson on Software

Thoughts, opinions, and lessons learned from writing software and running a business.

Ruby’s Bitwise Operators

A rundown of Ruby’s bitwise operators and an explanation of how two’s complement is used to represent signed integers.

Splatting Regex Matches

Stop repeating yourself and learn how Ruby’s splat operator works behind the scenes.

Hash#fetch

Catch incorrect assumptions where they’re made instead of where they break your program.