Amanda PougetPrefer to define functions on the prototype not the instance in JavaScriptWhenever possible, define your functions on the prototype not the object in JavaScript, essentially to dry up your objects in memory.Oct 21, 2018Oct 21, 2018
Amanda PougetInterdependent default arguments in ES6TL;DR: You can reference earlier arguments in default arguments in ES6Sep 18, 2018Sep 18, 2018
Amanda PougetDeath of Swap: Single-line Multiple Assignment in Ruby, ES6If you’ve taken any intro to algorithms class, you’ve seen a pattern like this for swapping variables:Sep 18, 2018Sep 18, 2018
Amanda PougetinRoleModel SoftwareFinally! An open source tool for Ruby’s RSpec that helps uncover the root causes of intermittent…Fixing intermittent software failures, or failures that occur only under a unique set or combination of conditions, is always a challenge…Jun 11, 2018Jun 11, 2018
Amanda PougetObscure bug of the day: ActionController::Parameters in a databaseConsider the following iterator:Apr 27, 2018Apr 27, 2018