# Encode a set of skills into a feature

I am working with a dataset where users have a set of skills. I have more than 500 skills and I was wondering what is the best way of encoding a vector, e.g., ['java', 'python', 'c'] into a feature, so it would be possible to use the user skills as features.

I thought about one-hot-encoding but I am afraid of the curse of dimensionality, since we have hundreds of skills.

Any suggestion on how to handle this kind of scenarios?