The battery life is under two hours when you're doing "that kind of work". Also, the GPU is severely throttled when the laptop is not plugged into the AC power.
I am saying from the perspective of a Mac using developer, wouldn't it be nice if Apple offered them the choice of choosing low end GPU for better battery life or high end GPU with less battery life, which may (and for many is) more appropriate for their professional workload.
I called Apple (both personal and business divisions) and you can not buy the old model with dGPU any more unless you buy refurb. The only 2015 available is the base model with Intel integrated graphics.
Keep in mind that the max TDP is only 35W this generation (down from 50W in the M370X). Don't hold me to it, but I suspect battery life will be better than 2 hours.