I know it sounds crazy, but some people who call themselves programmers can barely program. Me, working on both sides, I've seen a lot of this and I have to say that this is really bad for people responsible for hiring.
That's why extremely simple programming tests are step one of any sane interview process. These tests should happen online, and the goal is not to prove that the candidate is some kind of coding genius, but that they know what the heck programming is. Yes, it's sad and kind of depressing that this is even necessary.
Said that, I see a lot of developers complaining about how coding interviews should be banned and why is the reason companies do that.
In this video I'll explain why you shouldn't be afraid of online coding tests and, in fact, start accepting reality and start preparing yourself for that.
Why Hard Developer Interviews are Good: https://simpleprogrammer.com/2010/10/06/why-hard-interviews-are-good/
Coding Interviews: What About "Online Whiteboard Tests"?: https://www.youtube.com/watch?v=_IOuvjHlpTo&index=44&list=PLjwWT1Xy3c4U4xrSdGiN9fh04NjHoNwTq 10 Steps To Learn Anything Quickly Course: http://simpleprogrammer.com/10stepstolearn Gates Of Fire Book: https://simpleprogrammer.com/gatesoffire Learning Algorithms: Is It Really Necessary?: https://www.youtube.com/watch?v=FJcG-6g4wA4&list=PLjwWT1Xy3c4UOmNNyVJntU3lVXalp1weU&index=7 So You Want to Become a Better Programmer? (TopCoder): https://simpleprogrammer.com/2010/04/02/so-you-want-to-become-a-better-programmer-topcoder/