News for hackers. Stuff that matters.
Re:The Rise of Hybrid PHP: Blending PHP with Go and Rust by reactordev on Saturday August 30, 2025 @09:24PM (#45079496)
The issue is, if I’m using JS, why on earth would I ever use PHP? I can just await file('index.html') or return <IndexPage>

The cognitive load is null. You’re just having trouble breaking apart your learned behavior. Returning a component of jsx is just the same as writing an include for PHP.

Re:The Rise of Hybrid PHP: Blending PHP with Go and Rust by zelphirkalt on Monday September 01, 2025 @07:11PM (#45097428)
So if returning a component is the same, how would one (PHP) be more painting oneself into the corner than the other (JS)?