So I don't know where you get your build quality detail from but I've seen it go both ways. My nod is to the 1060 equipped laptop since you can compare the 1050 to the 1060 and it's a step up.
Which laptop should I go for?
I want a laptop that's good for programming, gaming, and can last a while. They both seem reasonable for the price though it seems ASUS is better in specs while MSI is better in build quality, but I'm not too sure. Also I do know about the Dell Inspiron 15 7000, but I don't really like Dell laptops too much.