I personally have an 8350 and i love it by all means, wouldn't swap.
But still, the i5 is a great CPU. As much as this thread is getting cluttered by Intel/AMD lovers trying to prove that their chip is better, just have a google of benchmarks. Take more than just one site into account and make your decision based on hard facts.
So many people tried to sway me towards the i5, equally people swayed me towards the 8350. I just decided on the 8350 for the amount of cores, more than the delivery they give. Everyone says the i5 is better for gaming, and they are right in all fairness. But the 8350 is still up there, it still performs great in games.
You will just have to decide on what you need, and what you are willing to compromise on. Then get the processor that best fits the bill.