This is why I always recommend an education over self learning programming. I can absolutely see the argument in places like the US where it costs an arm and a leg, but in Europe and other places with free education it's pretty much a no-brainer to me.
Not only does it help you learn in a structured way with predetermined goals etc, but you end up with fairly solid evidence of what you've learned.
I think the self learning path is much more difficult, both figuring out what to learn and then proving what you know to a potential employer. I tried that first and did learn some things, then I tried calling a potential employer who asked me a few questions, quickly assessed that I wasn't up to their standard and recommended a formal education. I took his advice and my career was pretty much on rails from then on.
A common argument is that they teach a lot of "useless" stuff and you can tailor your learning better on your own. I think it's really hard to figure out what to learn when you have no idea what the options are, and I think you won't know what's useful until you end up using it. Many people go through their whole careers doing things the wrong way because they don't know they need to learn something that would help them do better. There's also nothing stopping you from learning extra things beyond the curriculum, in fact I would recommend that.
Another common one is "I didn't learn anything in university" and all I can say about that is if you spent 3 years where your job was learning, and you didn't learn anything, then that's on you.
>Another common one is "I didn't learn anything in university" and all I can say about that is if you spent 3 years where your job was learning, and you didn't learn anything, then that's on you.
I don't think that's what people mean when they say that. They followed the curriculum and then when they started working they found they needed little of what they had studied and had a lot of gaps in their knowledge that needed to be filled.