Think of it like this: For a person just starting to learn the English language, that anyone could sit down and in a few minutes create a long post, barely making mistakes, would seem as amazing as what you’re mentioning.
In the end, programming is a skill, and as you practice, you learn techniques that become second nature. So these “amazing” programmers are not so good because they are some kind of geniuses, but because they’ve practised so much that much of the process just comes to mind effortlessly.
Another example: Ask someone who has always driven an automatic car to give you its thoughts on manual gear shifting.
As for where you’ll be in 10 years? Hopefully, still learning. You never really stop learning, which is kind of awesome. There’s always some new trick or technique to try! Some new technology to integrate! New tools to play with!