An affiliate code means that the person who posted it will profit off of your clicking on it. It's not bad for you, it's not bad for the person who posted it (except for their Dis privileges), but it counts as advertising without paying for the advertising on the Dis, and THAT is bad. But not harmful for you.
What is an affiliate code? lol, meaning I followed it and am afraid it might hurt my computer!