Lenovo Yoga 3 Pro 2 in 1 VS Dell XPS 13 2015. Which one is better?

I'm leaning on the Yoga 3 because it will come with 8gb ram vs XPS 4g. But the XPS has the smaller form factor and nicer screen but is it worth it due to the ram? Both will be around $800-900. What's your opinion or suggest a better laptop in that range!

I would go for Dell XPS

Depends more on what you want to do with your computer.

Dell packs a faster and better CPU and GPU, but the standard isn't touch. You can always upgrade the RAM. Plus battery size is double that of Lenovo.
Lenovo has a better display, decent battery life, more RAM, but slower CPU and shared GPU, which would be OK if it had a faster CPU, but it doesn't… So…

What is the intended use of the laptop?

I like this site for laptop comparissons: http://laptops.specout.com/compare/5990-6003/Yoga-3-Pro-vs-XPS-13-2015