I'm pretty well-rounded when it comes to computing (Software Development, Computer Networking to the CCNA level, Have taken a Linux/UNIX class at University, etc). So I won't have issues if your answer is very technical.
My question is if Mac OS X is truly more secure than Windows and why? Or is it just security through obscurity. I understand how Linux/UNIX-based systems work and understand that in order to run admin scripts and programs, you need to have Root access at the System level. However, I have done some Googling and was flabbergasted by the fact that people were able to Hack OS X far quicker than Windows.
I guess if you think of it from a reverse-engineering PoV, it makes sense. Windows has a much larger user base, so Security companies and Microsoft themselves are constantly looking for ways to patch vulnerabilities. I guess my question is as aforementioned, is Mac OS X truly more secure than Windows, and if so why?