Does this really prevent spam?

I’ve seen people post their emails like this, youremail[@]yourdomain[.]com

Do varations of these prevent spam and if so why?