The reason software developers get paid more is that it is a lot harder for an average person to become a software developer than it is to get an HGV license. Basically anybody not suffering from mental impairment could master the skills for that license. That is not true of software development, and it also takes longer.