Depends who you're hiring. Early career devs with a lot more time than prospects, and who have already spend a good portion of that time working for free on exercises and toy projects in the name of learning, might not have a folio of work to prove their skills. Crusty HN regulars probably prefer to chuck a github profile around, or provide samples of work in some other way. I don't think it's one size fits all.