You won't likely get hired anywhere without a work sample. Wether that be a side project, code from previous employment, or a coding test, you'll have to demonstrate you can do the work.
Many other professions also require work samples. Even salespeople are required to produce metrics from past jobs on the number of sales they made, and get put through practicals where they need to actually do a demo pitch for something.