Yes, economists these days don't talk about compensation so much but "utility" which is the aggregate of salary, cow-orkers, short commute, nice office, meaningful work, yadda yadda. People will always act to maximize utility.