logo Boston Ruby Group


what

October 2015 ~ RSS

October 13, 2015

A Muggle's Guide to Tail Call Optimization

by Danny Guinther

Submitted for your approval: a circle of torment unchronicled by the poets of old, a terror at the heart of many a horror story: SystemStackError: stack level too deep Tremble no more! Conquer the well of eternity! Behold the secrets of tail recursion and tail call optimization in Ruby! Witness the metamorphosis of a simple function as we explore the hidden power of tail call optimization buried deep within the Ruby VM! Follow the transformation to the revelation of tail call optimization's most ghastly secret: in many ways it's really just a special type of loop construct! The horror!

Mocking Language

by Sam Phippen

What’s a mock? What’s a stub? How about a spy? Or a double? There are a lot of different tools to create isolated tests in RSpec. The terms aren’t necessarily totally clear. In this talk, we’ll look at what the different kinds of test isolation tools in RSpec are for, some testing smells they can create, and how to fix those smells. This talk will be perfect for those already a little familiar with RSpec and looking to improve their testing skills.