He purchased the space with the designated purpose of writing code. This isn't akin to conducting business in an office setting (seeing clients, conducting meetings, etc.). It is more akin to writing prose. If he feels he is more productive in a personal setting, then this is no different from a novelist renting a cabin in the woods to finish that novel that's just not getting out. Would anyone recommend a novelist to rent office space instead of a somewhat isolated personal space to do creative work?
Bullshit. Writing code is not writing pose, and the artistic characteristics of software development drown in the setting of engineering and problem solving.
No, I wouldn't recommend a novelist to rent an office space to write the next "The Old Man and the Sea", but this is not a novelist, but a software developer (or artistic code monkey or whatever) that needs fast internet access at an affordable price to make his living.
What he does is his business. But don't tell me that selling his house instead of renting office space is an objective, rational decision (it isn't), and don't tell me he is an artist that needs green space to arrange bytes into perfection, because that is bullshit and no one pays a developer to be a Dali or Hemingway of coding.