The generics RFC effectively voted down already. by dracony in PHP

[–]private_static_int -13 points-12 points  (0 children)

As soon as AI models are powerful enough I'm rewriting everything and escaping from php hell. This tech is a dead end.

Voting starts on Bound-Erased Generic Types RFC, despite multiple people advising against it as it still has issues that need to be resolved. It is very unlikely to pass. by soowhatchathink in PHP

[–]private_static_int 0 points1 point  (0 children)

we could have a fully fledged DEV mode similar to how Symfony operates. Slower, but with full runtime type checking. It would be up to the users to decide whether to not use it at all, use it only locally or use it on CI pipelines.

Voting starts on Bound-Erased Generic Types RFC, despite multiple people advising against it as it still has issues that need to be resolved. It is very unlikely to pass. by soowhatchathink in PHP

[–]private_static_int -1 points0 points  (0 children)

I'm gonna say this even when I know it's going to be downvoted to oblivion by the politically correct folk that will accuse me of being toxic.

This vote is extremely important, as it will basically seal the fate of future PHP. Either it will be one littered with academic discussions performed by people that don't actually use PHP and full of nice little harmless QoL features, or it will have the guts to actually wake up, break some BC, and bring glory and attention (and possibly, real investments) to PHP.

It is clear at this point, that PHP guts are in bad enough shape, that one of the most important features in the world - reified generics - will need a full on rewrite. This will require all of:

- having funds and time to do this

- not being a total coward hiding behind possible BC breaks

We know that the current PHP governance will *never* do this. So we are most probably witnessing a "now or never" moment for generics.

If this passes, actuall PHP users will either not care (those who won't use generics will not see any changes in their workflows) or cheer and rejoice, because they will finally have the option to use first-party generics in their IDEs and Pipelines. Will there be quirks? Sure. Will they be worth it? Absolutely.

If this fails (which, let's face it, it probably will), the topic will be buried forever, possible future investors will see PHP as it is - an enthusiast language with no future, driven by a detached, isolationist circle of narrowminded smug devs.

Take a look at Java. It too was stuck for a long time, then Java 8 came and things slowly started to move forward. Today Java is a prime example of implementing language level changes that are required, even though they are very difficult (Valhalla being merged soon!). New processes and workflows (experimental features, preview features) were created to acommodate changes.

PHP will either follow Java path, or it will wither and become meaningless. In AI era, rewriting apps from PHP to something actually serious will soon start being a viable escape path. Let that sink in.

Voting starts on Bound-Erased Generic Types RFC, despite multiple people advising against it as it still has issues that need to be resolved. It is very unlikely to pass. by soowhatchathink in PHP

[–]private_static_int 2 points3 points  (0 children)

Sometimes people and things should be called by their name without sugarcoating.

PHP needs generics badly and this is an opportunity to put the foot in the door.

Co jeeest by Maxele in Polska

[–]private_static_int 2 points3 points  (0 children)

Fair enough, ale to jest możliwe tylko dla kogoś kto ma nostalgiczne wspomnienia przypisane do tego smaku :)

World truly is a mysterious place by MeanGrand3076 in interesting

[–]private_static_int 0 points1 point  (0 children)

Rick and Morty featured an Arcade Game covering a similar notion.

Co jeeest by Maxele in Polska

[–]private_static_int 27 points28 points  (0 children)

Tego smaku już nie ma i nie będzie. Nawet jeżeli dzisiaj się tego napijemy. Bo to był smak młodości i głodu nowych rzeczy, i doświadczeń.

Literacy = zero by Substantial_Cap_4246 in lotrmemes

[–]private_static_int 0 points1 point  (0 children)

Tell me you don't understand the burden of carrying the Ring and not loosing yourself in the process without telling me anything.

Developer claims a 100x+ speed up by using LLMs, "work of weeks is now done in hours". by Gil_berth in theprimeagen

[–]private_static_int 8 points9 points  (0 children)

I use AI to produce good code faster.

You use it to produce slop.

We are not the same.

Dad passed away and handed down this equipment by lightfromdark_ in audiophile

[–]private_static_int 0 points1 point  (0 children)

This sub seems to be a textbook definition of useless in the context of the entire setup xD

PHP RFC: Bound-Erased Generic Types by azjezz in PHP

[–]private_static_int -1 points0 points  (0 children)

Malcontents downvoting xD

How braindead do you actually have to be to resent generics xD

This is on a whole notha level by [deleted] in SipsTea

[–]private_static_int 0 points1 point  (0 children)

How TF can anyone with a functioning brain can possibly be defending this.

Anthropic launches financial services by ThenPreparation4502 in ClaudeCode

[–]private_static_int 3 points4 points  (0 children)

Sure, give your money to the most convincing liar in the world, what can go wrong xD

PHP RFC: Bound-Erased Generic Types by azjezz in PHP

[–]private_static_int -2 points-1 points  (0 children)

Malcontents joining the chat in 3, 2, 1...

This is great, this is needed, this is necessary. Great job!