I've been working as a software engineer for about 2 years now and recently I started to receive some messages from recruiters via LinkedIn. I understand that I can decide to answer or not to these messages, it will not be considered rude to ignore the message, but I don't really know if responding could be a good thing.
I've not been working for very long and I'm still just trying to assimilate some ideas of the workplace in general, like the fact that switching jobs often can be a good thing, as well as having a backup plan in case things go south.
So is there anything I could gain from responding to these messages? Or is there something I could be risking (like getting spammed by other recruiters)?