Both sentences are correct and mean the same thing. The difference is that the 2nd sentence is more formal-sounding, while the first is more informal sounding. Here are examples of situations in which they might be used: When Joan was 10, times were hard and the family was living in public housing.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.