Interesting. I'm quite the opposite in that I'll try pretty hard to avoid unnecessary allocations. In the case of your example I'd do something like:
variable = foo(bar(baz(stuff)));
// baz stuff
// then bar the result
// which we finally foo.
I primarily write python which can't optimize out the allocations so that might influence this.