Hacker News new | ask | show | jobs
by madeofpalk 2308 days ago
> language of choice for the working class dev

What an incredibly strange framing.

3 comments

So are you implying that you're not filled with the spirit of the proletariat when you program in PHP?
I certainly feel like the bourgeoisie when I use Rust or Haskell.
> I certainly feel like the bourgeoisie when I use Rust or Haskell.

I feel like a peasant sharecropper when I use Java.

That was my initial reaction too, but then I found it hard to disagree with (in the general case of course) and instead thought maybe it's an astute and interesting observation.

The more familiar slight is that it's 'the language of choice for script kiddies', but I suppose they've grown up and gotten apprenticeships.

I just don't know what separates the working class developers from the "other" kinds of developers. I'm a 9-to-5 working developer, and I don't use PHP.
Well, in the most broad - but applicable 'enough' - sweeping generalisation I can think of: a degree.
I think the implication is that PHP is a language that has been accessible to those who didn't join the programming profession via the traditional academic route (CS, CE, EE, or Math degree from a University).

And that's pretty well borne out by its history, and is part of PHP's enduring appeal to many people who don't have formal educational backgrounds in the computing sciences.

I wonder what it is about PHP that has led to this and whether you could recreate it in a new language without the historical inconsistencies and traps.
Some combination of:

- fully interpreted

- very weakly typed

- highly applicable to a broadly desired use case, i.e Personal Home Pages (hence the name PHP)

It's not too different from what made Excel such a broadly accessible and impactful 'programming' tool.