There has not been a shortage of software engineers since the dot-com bust (2000).
Many of the claims about a shortage are from companies that want to hire cheaper H1-B workers. Not only can these workers be paid less, but they cannot easily leave their current employer.