Oliver

Oliver @codeandclay

About: Audio editor by day. Rubyist by night. Had a brief sojourn as a junior dev five years ago. Looking to switch careers again.

Location:
UK
Joined:
Aug 21, 2018

Oliver
articles - 7 total

Hashes with default procs

Setting a default proc on a ruby hash

Learn More 4 2Jan 21 '23

Hash default values

You can use a pair of empty braces to initialise a hash. But, if you try to access a non-existant...

Learn More 1 0Oct 24 '22

Using Refinements to Monkey Patch Safely

Monkey-patching ruby classes using refinements

Learn More 5 0May 18 '21

Polymorphic associations in Rails

A quick overview of how to use polymorphic associations in rails

Learn More 8 0May 16 '21

You are the perfect interviewee. How would you design an events booking system in five minutes?

You are the perfect interviewee. You are presented with a pen and a whiteboard and asked to design an...

Learn More 9 6Apr 9 '19

Be careful when memoizing booleans!

Why you shouldn't use `||=` with booleans.

Learn More 40 6Mar 13 '19

Value objects in Ruby

An introduction to value objects and how to create them.

Learn More 38 4Mar 5 '19