I'd personally prefer online because most online stores allow you to fully customize what you get in your PC. And the prices usually are really acceptable. At stores you depend on what they have in stock and it takes time..
There can be a problem of return, but I've done most of my shopping...