Almost all of the chemical engineers I know
do work in software, mostly for the money. The skillset translates to computer science relatively seamlessly. Chemical engineering is essentially computer science where you swapped atoms for bits, but far more difficult because there are
only distributed systems and the background error rate is always noticeably non-zero.
I studied chemical engineering after I was already working in software, so I did it backward.