programming
Tom learned that computer programmers made a lot of money these days.
He decided to learn an aspect of it that was relevant to him.
He loved surfing the web and using web apps.
He decided to learn the language to create that.
He began learning Javascript.