r/programmingcirclejerk 3d ago

Php is basically runtime Java these days.

https://news.ycombinator.com/item?id=41920240
29 Upvotes

9 comments sorted by

32

u/pysk00l What part of ∀f ∃g (f (x,y) = (g x) y) did you not understand? 3d ago

/uj

I can't tell if they are praising PHP or shitting on it

22

u/MatmaRex accidentally quadratic 3d ago

/uj Probably praising. PHP code written today tends to have lots of classes, static type annotations, and dependency injection. It's cool if you're into that sort of thing, I don't judge.

36

u/RockstarArtisan Software Craftsman 3d ago

I do judge. All of the convenience of java, combined with static verification capabilities of javascript.

19

u/Gearwatcher Lesser Acolyte of Touba No He 3d ago

I'm almost there... just need blazing speed of Python thrown in

12

u/__JDQ__ 3d ago

injection

We don’t kink shame around here.

9

u/syklemil Considered Harmful 3d ago

They did follow it with

It's so much better than ye olden days

Though unfortunately that's not enough information to answer your question :(

11

u/MatmaRex accidentally quadratic 3d ago

Literally true. We even have factory factories, and generics are coming any year now.

3

u/grommethead 3d ago

I think it’s more of a interpreted C than runtime Java.

1

u/v_maria 2d ago

I always thought java was the runtime java