In my 20s, I was often doing that because I find programming inherently enjoyable. That it also pays extraordinarily well when done professionally is a convenient but unrelated fact.
Why would I pull an all-nighter playing a video game? Same reason except for the well-paid part.
Why would I pull an all-nighter playing a video game? Same reason except for the well-paid part.