Agreed. If a barista can go from zero to full stack developer in six months and there’s no barrier to entry like lawyers/doctors have, salaries are going to crash. It’s only a matter of when.
Except that software developers mostly create problems for future developers to solve, increasing -- not decreasing -- demand. The barrier of entry has always been low, yet salaries have only gone up.
In that sense it can be a vicious cycle. Though for the higher salaries I find the lists of requirements sometimes staggering.
At least, salaries will crash for those whose skills don't set them apart from baristas who went through bootcamps.