When the guy in the electronics store tells you something, verify it prior to soldering. The cathode (-) is the short pin, the anode (+) is the longer:

I should have checked before frying a led. (Which is also why I ask the pharmacist what the doctor- prescribed stuff is for or against before taking it – quacks make mistakes.)