There is no easy way to answer this question. You can definitely get a more powerful PC for the price. With the Mac, you are buying some brand, some better construction, and a lot of better customer service. You are also buying OS X, which may or may not be attractive.
I used Linux for many years as a primary development machine, and it was great. Ubuntu is doing a good job solving the "there is no good desktop for Linux" that was pretty true five years ago.
That said, I prefer my Mac because I get almost the same ability to play at the command line (I spend most of my day in Emacs right now, including running my shells there), but I also get a refined experience when I'm interacting with applications outside of development (e.g. Garage Band, Pages, Keynote, etc).
In the end, I didn't switch for development, I switched for all the time I use my laptop when I'm not developing. For me, it was worth it, but YMMV.