Depends on what you want to do.
If you want Conflagrate there's really no reason to get Shadow Mastery. The build you linked is a common PvP build focusing on burst damage.
If you go Affliction, at least get Dark Pact. Otherwise you'll still just burn through your mana in less than a minute.
Personally I would pick the build you linked for PvP. For PvE I'd go Dark Pact/Ruin.
____________________________
Please "talk up" if your comprehension white-shifts. I will use simple-happy language-words to help you understand.