I'm looking for a laptop and these two came to my attention.

I'm planning to do programming mostly and work on the laptop for a long time.

One big advantage of the Inspiron 17R is that the bigger screen which will help me be more productive IMO, on other hand some people told me that the "Build quality" of the Latitude is better, even though I'm not sure what the "Build Quality" affects and how much it'll matter to me.

And I also want it to work well with Ubuntu so it matters which one will work better with Ubuntu or with Linux in general.

What I need is a good screen so I don't strain my eyes, that's pretty much the most important thing for me, it should have a good amount of RAM and a good processor, but most models come with different processors you can choose from.
I need a wireless connection as well.

Can anyone advise between those two?

I've been seeing a lot on Optimus which I should be careful from and also saw some threads on Broadcom wireless not working, so these are two issues I've watched out from.

Some more info about these laptops:

Latitude:

Chipset: Mobile Intel® HM77 Express Chipset -or - Mobile Intel® QM77 Express Chipset
Display: 15.6” HD (1366x768) Anti-Glare LED-backlit -or- 15.6” FHD (1920x1080) Anti-Glare LED-backlit
Video Card: Intel® HD Graphics 3000 -or- Intel® HD Graphics 4000

Wireless LAN Options:

Intel® Centrino® Advanced-N 6205
Intel® Centrino® Ultimate-N 6300
Dell Wireless 1504 (802.11 b/g/n 1x1)
Dell Wireless 1540 (802.11 a/g/n 2x2)

Mobile Broadband & GPS Options:

Dell Wireless™ 5630 Multi-mode HSPA-EVDO Mini Card (Gobi™ 3000) with A-GPS
Dell Wireless™ 5560 Single-mode HSPA Mini Card with A-GPS

Inspiron:

Display: 17.3" High Definition+ (900p) LED Display with Truelife
Chipset: Mobile Intel® 7 Series Express Chipset (HM77)
Video Card: Intel® HD Graphics 3000 -or- Intel® HD Graphics 4000

Wi-Fi Bluetooth Options:
Dell Wireless 1703 802.11n + BT 4.0
Dell Wireless 1704 802.11n + BT 4.0
Intel® Centrino® Wireless-N 2230 + BT 4.0