Since the survey only mentioned if one "codes" on vacation and not if that is for the company:
Vacation is the only time I code in Python, as my pet projects are based on python projects I get from some AI books.
I used to and even would sit at home on days off and work. I was even dumb enough to work on extended holidays. Thinking that my difference meant something. Never again. Life is too short; enjoy it while you can!
AgreeN. When I was in my 20's, I routinely worked 50-60+ hour weeks, thinking that this somehow made me more valuable. It did, in that my employer was getting 10-20+ hours for free every week. They vaguely appreciated it, but the 'appreciation' never matched my effort.
Thirty years later I ignore the work phone after hours, I never put in overtime, and I always take advantage of paid time off.
I used to work on my own little pet projects evenings, weekends, and on vacation days, but no longer - life has simply caught up with me, and I no longer feel the motivation to work on any of that.
That said, I've never done any work-related stuff on my own time. I'm not that big of a sucker. That's not to say OTOH that stuff I've done on my own time hasn't eventually benefited my employer - reusing bits of pieces of my own code, that sort of thing.