I myself have and love the PS4, never a big fan of the xbox. but its all a matter of opinion. You have to look at what games are only dedicated to what console and see if that helps you choose. The Ps4 is technically a stronger piece of gear, but not having played or bothered with the xbox i cannot comment on that end.
You should buy the console that your friends are going to get or have gotten already. There is no point buying a nice new console if all your friends have the other one and you can't play with them. Most games will be out for both.