I find it pretty annoying that they don't post stats on the websites that they couldn't classify. I think it's likely that their survey suffers from some level of survivorship bias: only websites that loudly announce their tech stack get counted.
So, how do they know which programming language is being used by a server? From https://w3techs.com/faq, they look at:
- HTML elements of web pages
- Specific HTML tags, for example the generator meta tag
- The URL structure of a site
- HTTP headers, for example cookies
- HTTP responses to specific requests, for example compression
I typically run Python / Django sites, and the only way, that you would know I'm running Python is a few Django-specific security/auth cookies. _Maybe_ that stuff gets picked up by their crawler. If I was running another Python web framework, like Flask, then you'd have no idea what kind of app server was sitting behind NGINX.
Would you say that JS is dying?
Not to mention Java, which from Google trends it looks like it's an elephant half-way to the cemetery already https://trends.google.com/trends/explore?date=all&geo=US&q=j...
Add in "Laravel" and things look pretty different: https://trends.google.com/trends/explore?date=all&geo=US&q=p...
I know I personally steer any newbie away from Googling up "php tutorial" - most of them are horrible, full of bad coding practices and vulnerabilities. I steer them to a good framework and suggest they peruse its docs.
You can't just compare searches for tutorials on one platform against an entire other platform itself like that.
The vast, vast majority of PHP out there does not use Laravel.
The comparison isn't on equal footing.
https://trends.google.com/trends/explore?date=all&geo=US&q=p...