Taking risks for the sake of increasing risk is a combination of naive and stupid. Increased risk taking must come with an increasing reward.
In an economic collapse and likely recession, having a stable job at a large established company would give you stability and, soon enough, capital for buying up home and basement prices.
Working at an unprofitable early stage startup will give you a couple high fives from the founders, but you'll be in constant fear of losing that paycheck. The reward must be substantially higher than a steady big-corp job in normal times, and even more so in today's job and economic environment.
> Ergo, take that startup offer. You will always have a job as a programmer.
Working at a startup does not magically make you a better programmer any more than working at a large company automatically turns you into a cog churning out Java beans.