My recommendation to junior engineers in the agentic coding era: learn Rust.
The compiler gives your agent constant feedback. Refactors are safer. The tooling is excellent. Strong types catch a lot before runtime.
Rust isn't always the easiest language to write, but it's a great language to let agents work in.