If you only looked at popularity rankings, the advice would be simple: learn Python, because it sits at or near the top of nearly every index in 2026, including TIOBE. But popularity and pay are measuring different things, and developers who chase only the popularity number are sometimes surprised to find scarcer, less universally-used languages commanding a noticeably higher salary ceiling.
Different trackers place Python's share differently — some put it in the low-to-mid 20% range of the TIOBE index in 2026, others higher — and GitHub's own usage data has shown TypeScript overtaking Python for the most-used language by contributor count on the platform, a reminder that "most popular" depends heavily on which activity you're measuring: search interest, GitHub repositories, or Stack Overflow's developer survey, where JavaScript remains the single most widely used language among working developers.
Compiled salary data for 2026 shows a consistent pattern: the languages with the biggest pay premiums are not the most popular ones, they're the scarcer ones that solve harder, more specialized problems.
Meanwhile, general Python developer salaries are typically cited in the roughly $110,000 to $128,000 range in the US — solid, but noticeably below the scarcity-driven languages above, despite Python's far larger talent pool and job volume.
The pattern across nearly every compiled salary table is the same: pay premiums track how hard a company finds it to hire for a skill, not how many job postings mention it. Python, JavaScript, and TypeScript have enormous developer pools, which keeps competition for those roles high and caps the premium employers need to offer. Rust, Go, and Scala have far smaller, more specialized talent pools relative to the infrastructure and performance problems they're used to solve, which pushes pay up even though total job volume is lower.
Source: SecondTalent