In my industry (copywriting), candidates demonstrate their abilities to employers with a portfolio of their best work. Would this work for programmers?
This is easy because typically your best work is put out in public. This is rather difficult with most company source code. Also copywriting is probably not a team effort.