Learning (or not learning) Chinese slang

Slang and swearing often top the list of what people want to learn in a foreign language. But is this curiosity actually helpful for learners, or just a fun distraction?