Braintree Interview Question

Solve a code challenge based on credit card processing. Given a set of inputs, return an expected output.

Interview Answer

Anonymous

Jun 4, 2015

I built out a rubygem and documented my process. Unfortunately I got one thumbs up and one thumbs down from their developers. I used a few operator overloads and top level coercion methods instead of just using duck typing methods. I think it was seen as a code smell. My solution was ripe for a refactor, I knew it, I think they did too.