I think this shows how much HN is a bubble in itself. Most discussions here happen around new/exciting/cool/weird technology. And don't get me wrong, I love those discussions! That's why I come here! But reality outside of this bubble is people building and maintaining web apps as efficiently as possible and PHP hasn't stopped being very efficient. On the contrary, it's getting better with time. Interestingly enough,…
what do you mean by "efficient"? Developer productivity or server performance?
Usage statistics of server-side programming languages for websites
161–170 of 284 posts
Re: Usage statistics of server-side programming languages for websites
#162I doubt more than 25% of the hours spent by programmers on software that runs on web servers is spent on PHP code.
Re: Usage statistics of server-side programming languages for websites
#163A search of my country’s main job site says approx: 250 Ruby ads 420 PHP ads 1600 Java ads 1600 python ads 1300 .NET ads
PHP - 12316 jobs
Ruby - 1175 jobs
Java - 5902 jobs
Python - 10051 jobs
.NET - 2353 jobs
Adding a few of the others:
C# - 2562 jobs (I suspect those .NET also can be interchanged with C#)
C++ - 1711 jobs
Go - 3925 jobs
Rust - 382 jobs
Feel free to double check my results. Like it or not, Upwork is the largest freelancer site.
Re: Usage statistics of server-side programming languages for websites
#164Earlier quoted context omitted.
Owncloud is switching to Go. https://owncloud.com/news/ready-steady-go/
How much has the NextCloud source diverged from OwnCloud? Will it also be switching to Go?
Re: Usage statistics of server-side programming languages for websites
#165I think this shows how much HN is a bubble in itself. Most discussions here happen around new/exciting/cool/weird technology. And don't get me wrong, I love those discussions! That's why I come here! But reality outside of this bubble is people building and maintaining web apps as efficiently as possible and PHP hasn't stopped being very efficient. On the contrary, it's getting better with time. Interestingly enough,…
It is not about efficiency , it is about legacy. You can count number of Perl scripts out there and conclude that Perl is still the most popular scripting/devops tool in the world
Perl is still heavily used. I wrote more than 2K lines just last week, lots of it is throwaway. But hey not many languages make it easy for you to write thousands of lines of throwaway code in hours.
It's still the most useful language in the backend/unix world. This comes from me, who actually writes lots of Python code. But I wouldn't use Python where I use Perl. It would just make me slow and it wouldn't get the job done just as well as Perl.
It's not used as frequently for web dev, or other places where Java is used. But it's very good at what it does. Glue language for the Unix world.
Re: Usage statistics of server-side programming languages for websites
#166PHP is a great fit for most web projects. It is battle tested with great backwards compatibility, fast, offers the best deployment story and combines the advantages of dynamic and static typing with it's gradual typing system (Think Typescript without the complexity of Typescript.) The next version is even going to improve on its weakest point, concurrency, with Fibers: https://php.watch/versions/8.1/fibers Sure we a…
To me PHP is an ugly language, with heaps of quirks and weird api's. The way it mixes markup and logic is gross.
That being said, I do like some parts of it. The way you compose pages by just writing "include" is nice. The way the server spins up processes for every request like a micro-service is nice.
PHP does have an elegant simplicity that many languages and frameworks lack these days...
Re: Usage statistics of server-side programming languages for websites
#167Earlier quoted context omitted.
I am old also, and I have maintained some PHP code for about 18+ years now. From PHP 4 to PHP 7.4. The changes and improvements are dramatic and wonderful. Improvements in speed, security, error processing, functionality/integration with databases, Composer, etc... While I am not suggesting you go back to PHP, but things are simply not the same anymore.
I know it is not the same anymore. It doesn’t invalidate my experience from back then and the reason I left the community. And to get a response along the line that, I don’t get to have an opinion because the stuff I worked on was “OLD SHIT” is insulting.
Re: Usage statistics of server-side programming languages for websites
#168Re: Usage statistics of server-side programming languages for websites
#169Re: Usage statistics of server-side programming languages for websites
#17042% of all websites are on Wordpress, which is written in PHP.[a] The vast majority of those websites use vanilla WordPress out-of-the-box to serve a tiny audience. If you look at market share by traffic , a much smaller share than 79% of the world's largest web sites (Wikipedia, YouTube, Google, Amazon, Facebook, Twitter, Reddit, Instagram, eBay, PornHub, etc.) run on PHP. Those websites account for the vast majorit…
Technically though, Facebook uses Hack, a more strictly-typed customized version of PHP for their own uses, but Hack is still mostly compatible with PHP and until recently could process any PHP file directly.