Menu

Unit testing -drawRect:

March 19, 2014

One of the more challenging places to get test coverage on iOS is custom UIView subclasses that override -drawRect:. Let’s examine how we do this at Wealthfront and look at an example from our iOS application. There are a number of great reasons to implement custom UIViews, for example we have a simple custom view… Read more

Nuke the NPE in Java

Null is a pain and it is time to nuke the NPE (NullPointerException) in Java! Actually, NPEs are trivial to fix, so they’re not actually what this blog post is about. We’ve all seen code like above throw a NPE, and we know the fix is trivial: View the code on Gist. It is safe… Read more

iOS Development at Wealthfront

March 12, 2014

At Wealthfront everything we build is designed to move quickly. For example, it is common for new hires to deploy new code to production on their first day. Our continuous integration and deployment environment are designed so that if the tests pass we ship. This, of course, is actually quite normal for a Silicon Valley… Read more

Marketside Chats #4: Costs of replicating an S&P 500 portfolio

March 04, 2014

What are stock indexes? (For a stock index, this is the correct plural – not “indices”.) Wikipedia says it is “a method of measuring the value of a section of the stock market”. An index includes stocks that are similar in some meaningful way. Examples: all technology stocks, the biggest 100 stocks trading at the… Read more

Career Planning for New Grad and Young Engineers

February 20, 2014

Over the past 15 years I have hired hundreds of software engineers, many of whom were either interns or young people starting out in their career. I believe a key to this success is my genuine desire to help grow the careers of my recruits. If your teams have a great experience then word gets… Read more

Marketside chats #3: More options for non-dummies

December 19, 2013

This article will: show you how to convert stock volatilities to something intuitive explain in basic terms the fancy concept of convexity Please read Marketside chats #2: Options for non-dummies first for some of the other terminology.   Implied volatility (IV, a.k.a. vol) The implied volatility of a stock (or index) is the standard deviation of its expected future… Read more