For software development and Linux, the XPS 15 generally has better driver support. While the Spectre is a great all-around machine, its hybrid nature and focus on pen input don't really benefit a developer workflow. If you are gaming, compare the specific GPU configurations offered in each model, as that will be the biggest performance differentiator.