You can't wing it but if you know it then you don't necessarily need much practice. Something would have to be seriously wrong if you needed 1-2 years of study to take up a programming job if you've done that job in the past too, there are people with no experience doing 8 week bootcamps and getting jobs.
Some workplaces might have tricky google type interviews with a bunch of algo questions, that might well require a bit of practice, though that's hardly all roles, if you can do well at those sorts of questions then the roles requiring them tend to pay rather well. The fact is there are plenty of roles for developers out there that don't require leetcode type interviews.
Also current languages? Various languages used in enterprise software have been around for decades (Java, C++, C#).
Re the commentary about training, it's not really the job of a company to train you up in foundational stuff for your profession, if people are expecting to be spoon-fed in industry then they're being a tad ridiculous. A programmer should be able to program, a data scientist/quant/researcher should be able to do maths/stats/ML too. They might not have experience using some particular tools the company uses, they will perhaps need to be introduced to the development methodology used by the team they're in and the various processes they'll need to follow to ship code changes etc. People earmarked for leadership roles might be sent on leadership training courses, techies might be sent on courses to get vendor certifications, teams might have a few sessions with a trainer to transition from say waterfall to scrum or whatever.
Some workplaces might have tricky google type interviews with a bunch of algo questions, that might well require a bit of practice, though that's hardly all roles, if you can do well at those sorts of questions then the roles requiring them tend to pay rather well. The fact is there are plenty of roles for developers out there that don't require leetcode type interviews.
Also current languages? Various languages used in enterprise software have been around for decades (Java, C++, C#).
Re the commentary about training, it's not really the job of a company to train you up in foundational stuff for your profession, if people are expecting to be spoon-fed in industry then they're being a tad ridiculous. A programmer should be able to program, a data scientist/quant/researcher should be able to do maths/stats/ML too. They might not have experience using some particular tools the company uses, they will perhaps need to be introduced to the development methodology used by the team they're in and the various processes they'll need to follow to ship code changes etc. People earmarked for leadership roles might be sent on leadership training courses, techies might be sent on courses to get vendor certifications, teams might have a few sessions with a trainer to transition from say waterfall to scrum or whatever.