Windows lost the taskbar in Win 7, OS X has never had one.
In my experience a dock is preferable when you have a small number of windows open for each application and a taskbar is preferable with a larger number. Perhaps tabbed applications have made this switch possible.