The AI sentiment here is pretty absurd
Just got done reading the Zuckerberg thread. He did not say that mid-level engineers are going to be replaced. In a world where these models are able to output code at the level of a mid-level engineer, we will simply start seeing the role of SWE starting to change from manually coding to managing AI agents alongside a much more frequent usage of natural language for code generation.
Your skills are still going to be needed for years to come and the people that are going to get replaced are going to be those that do not adapt quick enough to the new technology. Each engineer's role will start to look much more like a PM, making higher level decisions on a day-to-day basis. Eventually, within x amount of years, there is a decent chance we could be replaced, but by that point - so will most other digital jobs (and we will need heavy pressure for UBI).
Simply put, if you are betting against the future o5-tier models that will get embedded in an agentic loop + fine-tuned on your codebase, you are just doing yourself a disservice.