Blog

Resources around testing in Ruby

March 18, 2021

Mocking on Ruby

Mocking again

Good read on procs vs lambdas

Summary Differences

  1. Procs are objects, blocks are not
  2. At most one block can appear in an argument list
  3. Lambdas check the number of arguments, while procs do not
  4. Lambdas and procs treat the ‘return’ keyword differently

Basics on error exceptions hierarchy


Written by Julian Macmang