My friend is a junior at a workplace that requires staff to take 100% responsibility for their work. In practice this means no code reviews. Any errors, mistakes or inefficiencies are to be identified yourself.
While staff are encouraged to ask for help when they run into problems, you don't know what you don't know, and my friend is often disciplined by seniors (who are also managers in the company) when their work doesn't fit their expectations at the end of a project. This is the cause of a lot of stress for the junior in question and is destroying any confidence they have in their own work.
While I can see the merits of having a "get it right the first time" culture in a workplace full of senior developers, it seems like a hostile work environment for juniors who genuinely don't know any better.
Can anybody suggest techniques for reviewing and error checking your own work? Or alternatively, strategies for cultivating a healthy "learn by mistakes" review culture in a workplace?
I should add that this is apparently otherwise a friendly and pleasant place to work and the seniors seem entirely reasonable in all other aspects, the junior would like to stay on at the company if possible.