2002 - First job about 3000$ a year
2005 - Started freelaicing - about 8000$ a year
2018 - About 42000$ a year before taxes
I get paid in INR, even though I contract for a small company in the US, so the inflation eats away the growth - on the other hand, I work from home, and it takes maybe 3 to 4 hours a day (at most) to complete my tasks.
Some weeks go by with hardly anything to do but minor bug fixes and UI tweaks. Great employers, autonomy, interesting work.
In terms of purchasing power I feel very blessed that I make more than an average US citizen, while living in a country where things cost 1/5 compared to the US.
People of my caliber and experience make about 3 times more than me in regular 9 to 7 tech jobs. Very few remain "coders" after more than 10 years in the industry.