Your opinion on companies accepting employees without dev knowledge

What are your opinion on companies accepting employees without experience or without dev knowledge where they teach you the basics?

Would you recommend this path for beginners?

Companies hiring developers normally expect candidates to at the very least have some background in software development, be it a university degree or self taught.