A 50-year old playing guitar is 1,000x cooler than a 50-year old mixing EDM tracks on Ableton, because he thinks it'll help him score 20-year old chicks or impress HN.
No matter what age you are, "adulthood" is pretty much another word for finally having enough self-confidence to do your own thing. It's pretty much always better than "childhood", which is the lack thereof.
Corollary: A 50 year old mixing EDM tracks on Ableton because he likes it is just as cool as the first guy.
[0] - http://eotomusic.com/
If you're worried about being unpopular at all, my advice would be to not start trying to learn.
There's a hell of a lot of people doing a hell of a lot of things for hobbies that aren't motivated by popularity at all.
For example, reading for fun wasn't a way to be popular growing up - your peers expected you to be involved in sports, or be doing the garage band thing. Being a bookworm was like hanging a "bully me" sign on your back. But I'd wager that many on HN did (and still do) read for fun.
I've learned to play a few instruments, although I was never successful with the guitar (no one wants to teach what I want to learn - they all assume I want to play rock or gospel and are incapable of teaching anything else, and I want to learn flamenco guitar). The only people who have ever heard me play anything are my teachers, and my immediate family.
I suppose, if I decide to give the bagpipes a try, that the neighbors might have to hear me as well. I expect that won't improve my popularity, but I don't, and never have cared about that.
Much like programming, or any form of writing, it's not as much what language or style you choose, but enabling you to express or create something in a space.
If you are at least partly motivated by popularity (and who isn't)
Umm, me? I picked up the mandolin in my 50s because I wanted to learn how to play it. To date, I've not had one woman throw herself at me as a result. I'm perfectly okay with that. That brief flirting with the hammer dulcimer wasn't any better. Perhaps I'll try accordion next.
For example?
A hobby isn't usually about being popular, it's just something you like doing on your spare time. I'm fairly sure nobody on here who codes in their spare time does it to get laid, but because it's just an interesting way to fill out spare time to them.
href='https://www.youtube.com/watch?v=a33sB3ck28A'
Edit: url
I'm trying to learn to unicycle, so I'm definitely doing this wrong.
Also, "sexy gods" generally applied to 20 year old guitarists anyways. The middle aged guitar gods didn't _start_ as middle-aged. Their fame carried them.