Re:Write PHP Code Within Next.js Components
by dgorges on Thursday November 02, 2023 @06:22PM
(#38121146)
> I hope I don't have to say this but: If you even in the slightest consider to use this in any application at all you are an absolute madman and and should be locked out of the internet for the rest of your life, I hope you find some other fun activity, maybe gardening or woodwork.
[ Parent
| on HN ]
Re:Write PHP Code Within Next.js Components
by NorwegianDude on Thursday November 02, 2023 @06:29PM
(#38121240)
I know. The Next.js part should definitely be removed first. /s
Re:Write PHP Code Within Next.js Components
by cynicalsecurity on Thursday November 02, 2023 @06:33PM
(#38121282)
No sarcasm.
Re:Write PHP Code Within Next.js Components
by pulse7 on Thursday November 02, 2023 @06:49PM
(#38121482)
The JS part should be removed first. No sarcasm... :)
Re:Write PHP Code Within Next.js Components
by moralestapia on Thursday November 02, 2023 @06:52PM
(#38121517)
Who would win?
A literal trillion dollar ecosystem ...
vs.
... le edgy joke.
Re:Write PHP Code Within Next.js Components
by omarfarooq on Thursday November 02, 2023 @07:44PM
(#38122019)
All these haters of Javascript, you'd think no one actually uses it.
Re:Write PHP Code Within Next.js Components
by arrowsmith on Friday November 03, 2023 @02:10AM
(#38125123)
Javascript is widely used for frontend development because it's the only choice, not because it's a well-designed language that developers love.
Re:Write PHP Code Within Next.js Components
by FractalHQ on Friday November 03, 2023 @05:19AM
(#38126276)
I love typescript. It’s not my fav but it’s far from the worst.
Re:Write PHP Code Within Next.js Components
by franciscop on Thursday November 02, 2023 @10:15PM
(#38123560)
I made a similar PHP in JS experiment[1], but running on the browser, and with similar warnings. It seems we are rational enough to know these are just jokes WHILE recognizing some might take them seriously:
> Yup, this sucks. Use it just as an example of things that should never happen. If you really, really need to use this, and want more features, feel free to throw me loads of money and I might consider talking you out of it or contacting the relevant health authorities.