The other option is to show up at your job for 40 hours/week but only put in 15-20. Especially in software, where one engineer can be 10x more productive than another, one can easily get away with this.
(I’m not advocating this, just pointing out that it is a strategy I’ve seen employed)
(I’m not advocating this, just pointing out that it is a strategy I’ve seen employed)