Representations count

Cd9b247e4507fed75312e9a42070125d?s=47 Tom Stuart
February 07, 2019

Representations count

In your grandparents’ attic you discover a mysterious old computer. You boot it up and discover it runs Ruby, but doesn’t support negative numbers! How can you implement negative numbers in an elegant way? We’ll explore two solutions and discover how important it is to pick the right representation.

Cd9b247e4507fed75312e9a42070125d?s=128

Tom Stuart

February 07, 2019
Tweet